# TryGetFirstRenderPipelineSettingsFromInterface<TSettingsInterfaceType>(out TSettingsInterfaceType)

> Get the first settings for the currently active pipeline that implements TSettingsInterfaceType.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Rendering](/engine/6000.5/script-reference/unityeditor/rendering.md)
* **Assembly:** UnityEditor.CoreModule

## TryGetFirstRenderPipelineSettingsFromInterface\<T>(T)

```csharp
public static bool TryGetFirstRenderPipelineSettingsFromInterface<TSettingsInterfaceType>(out TSettingsInterfaceType settings) where TSettingsInterfaceType : class, IRenderPipelineGraphicsSettings
```

### Parameters

**** (T): The settings object of type `TSettingsInterfaceType` if found, or `null`.

### Returns

| Type                                                          | Description                                                                         |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if a setting implementing `TSettingsInterfaceType` was found, false otherwise. |
