Class RenderPipelineGlobalSettingsProvider<TRenderPipeline, TGlobalSettings>
Render Pipeline Settings provider
Inheritance
Inherited Members
Namespace: UnityEditor.Rendering
Syntax
public abstract class RenderPipelineGlobalSettingsProvider<TRenderPipeline, TGlobalSettings> : SettingsProvider where TRenderPipeline : RenderPipeline where TGlobalSettings : RenderPipelineGlobalSettings
Type Parameters
| Name | Description |
|---|---|
| TRenderPipeline | UnityEngine.Rendering.RenderPipeline |
| TGlobalSettings | UnityEngine.Rendering.RenderPipelineGlobalSettings |
Constructors
RenderPipelineGlobalSettingsProvider(String)
Constructor
Declaration
public RenderPipelineGlobalSettingsProvider(string v)
Parameters
| Type | Name | Description |
|---|---|---|
| String | v | The path of the settings |
Methods
Clone(RenderPipelineGlobalSettings, Boolean)
Clones the UnityEngine.Rendering.RenderPipelineGlobalSettings asset
Declaration
protected abstract void Clone(RenderPipelineGlobalSettings src, bool activateAsset)
Parameters
| Type | Name | Description |
|---|---|---|
| UnityEngine.Rendering.RenderPipelineGlobalSettings | src | The UnityEngine.Rendering.RenderPipelineGlobalSettings to clone. |
| Boolean | activateAsset | if the asset should be shown on the inspector. |
Create(Boolean, Boolean)
Creates a new UnityEngine.Rendering.RenderPipelineGlobalSettings asset
Declaration
protected abstract void Create(bool useProjectSettingsFolder, bool activateAsset)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | useProjectSettingsFolder | If the asset should be created on the project settings folder |
| Boolean | activateAsset | if the asset should be shown on the inspector |
Ensure()
Ensures that the UnityEngine.Rendering.RenderPipelineGlobalSettings asset is correct
Declaration
protected abstract void Ensure()
OnActivate(String, VisualElement)
This method is being called when the provider is activated
Declaration
public override void OnActivate(string searchContext, VisualElement rootElement)
Parameters
| Type | Name | Description |
|---|---|---|
| String | searchContext | The context with the search |
| UnityEngine.UIElements.VisualElement | rootElement | The UnityEngine.UIElements.VisualElement with the root |
Overrides
OnDeactivate()
This method is being called when the provider is deactivated
Declaration
public override void OnDeactivate()
Overrides
OnGUI(String)
Method called to render the IMGUI of the settings provider
Declaration
public override void OnGUI(string searchContext)
Parameters
| Type | Name | Description |
|---|---|---|
| String | searchContext | The search content |
Overrides
OnTitleBarGUI()
Method called when the title bar is being rendered
Declaration
public override void OnTitleBarGUI()