GetRenderPipelineGlobalSettingsAsset
Gets the RenderPipelineGlobalSettings asset registered for the given RenderPipeline asset.
읽는 시간 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. |