GetRenderPipelineGlobalSettingsAsset
Gets the RenderPipelineGlobalSettings asset registered for the given RenderPipeline asset.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.Rendering
- Assembly: UnityEditor.CoreModule
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. |