GetRenderPipelineGlobalSettingsAsset
Gets the RenderPipelineGlobalSettings asset registered for the given RenderPipeline asset.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Rendering
- Assembly: UnityEditor
GetRenderPipelineGlobalSettingsAsset(Type)
Gets the RenderPipelineGlobalSettings asset registered for the given RenderPipeline asset.
public static RenderPipelineGlobalSettings GetRenderPipelineGlobalSettingsAsset(Type renderPipelineType)
Parameters
The type of the RenderPipeline asset to get the RenderPipelineGlobalSettings asset from.
Returns
Type | Description |
|---|---|
| RenderPipelineGlobalSettings | The asset reference. |
GetRenderPipelineGlobalSettingsAsset<T>()
Gets the RenderPipelineGlobalSettings asset registered for the given RenderPipeline asset.
public static RenderPipelineGlobalSettings GetRenderPipelineGlobalSettingsAsset<T>() where T : RenderPipeline
Returns
Type | Description |
|---|---|
| RenderPipelineGlobalSettings | The asset reference. |