TryGetRenderPipelineSettingsFromInterfaceForPipeline
Retrieves the array of the settings objects of type TSettingsInterfaceType for the pipeline of type TPipeline if they are registered.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Rendering
- Assembly: UnityEditor.CoreModule
TryGetRenderPipelineSettingsFromInterfaceForPipeline<T, U>(`<>[])
Retrieves the array of the settings objects of type for the pipeline of type if they are registered.
TSettingsInterfaceTypeTPipelinepublic static bool TryGetRenderPipelineSettingsFromInterfaceForPipeline<TSettingsInterfaceType, TPipeline>(out TSettingsInterfaceType[] settings) where TSettingsInterfaceType : class, IRenderPipelineGraphicsSettings where TPipeline : RenderPipeline
Parameters
The array of the settings objects of type if found, or .
TSettingsInterfaceTypenullReturns
Type | Description |
|---|---|
| bool | True if any settings of type |
Remarks
Note that it is not required that is the currently active pipeline.
TPipelineTryGetRenderPipelineSettingsFromInterfaceForPipeline<T>(Type, `<>[])
Retrieves the array of the settings objects of type for the pipeline of type if they are registered.
TSettingsInterfaceTypeTPipelinepublic static bool TryGetRenderPipelineSettingsFromInterfaceForPipeline<TSettingsInterfaceType>(Type renderPipelineType, out TSettingsInterfaceType[] settings) where TSettingsInterfaceType : class, IRenderPipelineGraphicsSettings
Parameters
A valid RenderPipeline type.
The array of the settings objects of type if found, or .
TSettingsInterfaceTypenullReturns
Type | Description |
|---|---|
| bool | True if any settings of type |
Remarks
Note that it is not required that is the currently active pipeline.
TPipeline