# TryGetFirstSettingsImplementingInterface<TSettingsInterfaceType>(out TSettingsInterfaceType)

> Try to get the first settings that implements TSettingsInterfaceType.

## Definition

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

## TryGetFirstSettingsImplementingInterface\<T>(T)

```csharp
protected bool TryGetFirstSettingsImplementingInterface<TSettingsInterfaceType>(out TSettingsInterfaceType settings) where TSettingsInterfaceType : class, IRenderPipelineGraphicsSettings
```

### Parameters

**** (T): Get the first settings for the currently active pipeline that implements `TSettingsInterfaceType`, or `null` if none were found.

### Returns

| Type                                                          | Description                                                                             |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if a setting of type `TSettingsInterfaceType` were found, false otherwise. |
