# TryGetRenderPipelineSettingsFromInterfaceForPipeline

> Retrieves the array of the settings objects of type TSettingsInterfaceType for the pipeline of type TPipeline if they are registered.

## Definition

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

## TryGetRenderPipelineSettingsFromInterfaceForPipeline\<T, U>(\`\<>\[])

Retrieves the array of the settings objects of type `TSettingsInterfaceType` for the pipeline of type `TPipeline` if they are registered.

```csharp
public static bool TryGetRenderPipelineSettingsFromInterfaceForPipeline<TSettingsInterfaceType, TPipeline>(out TSettingsInterfaceType[] settings) where TSettingsInterfaceType : class, IRenderPipelineGraphicsSettings where TPipeline : RenderPipeline
```

### Parameters

**** (\[\<TSettingsInterfaceType>\[]]\(./)): The array of the settings objects of type `TSettingsInterfaceType` if found, or `null`.

### Returns

| Type                                                          | Description                                                                                                 |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if any settings of type `TSettings` are available and registered for the pipeline of type `TPipeline`. |

### Remarks

Note that it is not required that `TPipeline` is the currently active pipeline.

## TryGetRenderPipelineSettingsFromInterfaceForPipeline\<T>(Type, \`\<>\[])

Retrieves the array of the settings objects of type `TSettingsInterfaceType` for the pipeline of type `TPipeline` if they are registered.

```csharp
public static bool TryGetRenderPipelineSettingsFromInterfaceForPipeline<TSettingsInterfaceType>(Type renderPipelineType, out TSettingsInterfaceType[] settings) where TSettingsInterfaceType : class, IRenderPipelineGraphicsSettings
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): A valid [RenderPipeline](/engine/6000.5/script-reference/unityengine/rendering/renderpipeline.md) type.**** (\[\<TSettingsInterfaceType>\[]]\(./)): The array of the settings objects of type `TSettingsInterfaceType` if found, or `null`.

### Returns

| Type                                                          | Description                                                                                                 |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if any settings of type `TSettings` are available and registered for the pipeline of type `TPipeline`. |

### Remarks

Note that it is not required that `TPipeline` is the currently active pipeline.
