Class RenderPipelineGlobalSettingsProvider<TRenderPipeline, TGlobalSettings>
Render Pipeline Settings provider
Inheritance
Inherited Members
Namespace: UnityEditor .Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
[Obsolete("This is obsolete. GlobalSettingsAsset content are transformed in IRenderPipelineGraphicsSettings and they are directly embedded in Projectsettings > Graphics #from(2023.3)")]
public abstract class RenderPipelineGlobalSettingsProvider<TRenderPipeline, TGlobalSettings> : SettingsProvider where TRenderPipeline : RenderPipeline where TGlobalSettings : RenderPipelineGlobalSettings
Type Parameters
Name | Description |
---|---|
TRenderPipeline | |
TGlobalSettings |
Constructors
RenderPipelineGlobalSettingsProvider(string)
Constructor
Declaration
public RenderPipelineGlobalSettingsProvider(string v)
Parameters
Type | Name | Description |
---|---|---|
string | v | The path of the settings |
Methods
Clone(RenderPipelineGlobalSettings, bool)
Clones the Render
Declaration
protected virtual void Clone(RenderPipelineGlobalSettings source, bool activateAsset)
Parameters
Type | Name | Description |
---|---|---|
Render |
source | The Render |
bool | activateAsset | if the asset should be shown on the inspector. |
Create(bool, bool)
Creates a new Render
Declaration
protected virtual void Create(bool useProjectSettingsFolder, bool activateAsset)
Parameters
Type | Name | Description |
---|---|---|
bool | useProjectSettingsFolder | If the asset should be created on the project settings folder |
bool | activateAsset | if the asset should be shown on the inspector |
Ensure()
Ensures that the Render
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 |
Visual |
rootElement | The Visual |
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()