TryGetFirstRenderPipelineSettingsFromInterface<TSettingsInterfaceType>(out TSettingsInterfaceType)
Get the first settings for the currently active pipeline that implements TSettingsInterfaceType.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Rendering
- Assembly: UnityEditor
TryGetFirstRenderPipelineSettingsFromInterface<T>(T)
public static bool TryGetFirstRenderPipelineSettingsFromInterface<TSettingsInterfaceType>(out TSettingsInterfaceType settings) where TSettingsInterfaceType : class, IRenderPipelineGraphicsSettings
Parameters
Returns
Type | Description |
|---|---|
| bool | True if a setting implementing |