TryGetRenderPipelineSettingsFromInterface<TSettingsInterfaceType>(out TSettingsInterfaceType[])
Retrieves the array of the settings objects of type TSettingsInterfaceType for the active Render Pipeline if they are registered.
阅读时间1 分钟最后更新于 1 个月前
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 |