TryGetRenderPipelineSettingsFromInterface<TSettingsInterfaceType>(out TSettingsInterfaceType[])
Retrieves the array of the settings objects of type TSettingsInterfaceType for the active Render Pipeline if they are registered.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Rendering
- Assembly: UnityEditor
TryGetRenderPipelineSettingsFromInterface<T>(`<>[])
public static bool TryGetRenderPipelineSettingsFromInterface<TSettingsInterfaceType>(out TSettingsInterfaceType[] settings) where TSettingsInterfaceType : class, IRenderPipelineGraphicsSettings
Parameters
The array of the settings objects of type if found, or .
TSettingsInterfaceTypenullReturns
Type | Description |
|---|---|
| bool | True if any settings of type |