docs.unity.cn
    Show / Hide Table of Contents

    Class RenderPipelineGlobalSettingsProvider<TRenderPipeline, TGlobalSettings>

    Render Pipeline Settings provider

    Inheritance
    Object
    SettingsProvider
    RenderPipelineGlobalSettingsProvider<TRenderPipeline, TGlobalSettings>
    Inherited Members
    SettingsProvider.HasSearchInterest(String)
    SettingsProvider.OnFooterBarGUI()
    SettingsProvider.OnInspectorUpdate()
    SettingsProvider.Repaint()
    UnityEditor.SettingsProvider.PopulateSearchKeywordsFromGUIContentProperties<T>()
    UnityEditor.SettingsProvider.GetSearchKeywordsFromGUIContentProperties<T>()
    SettingsProvider.GetSearchKeywordsFromSerializedObject(SerializedObject)
    SettingsProvider.GetSearchKeywordsFromPath(String)
    SettingsProvider.label
    SettingsProvider.settingsPath
    SettingsProvider.scope
    SettingsProvider.keywords
    SettingsProvider.guiHandler
    SettingsProvider.titleBarGuiHandler
    SettingsProvider.footerBarGuiHandler
    SettingsProvider.activateHandler
    SettingsProvider.deactivateHandler
    SettingsProvider.hasSearchInterestHandler
    SettingsProvider.inspectorUpdateHandler
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Rendering
    Syntax
    public abstract class RenderPipelineGlobalSettingsProvider<TRenderPipeline, TGlobalSettings> : SettingsProvider where TRenderPipeline : RenderPipeline where TGlobalSettings : RenderPipelineGlobalSettings
    Type Parameters
    Name Description
    TRenderPipeline RenderPipeline
    TGlobalSettings 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 RenderPipelineGlobalSettings asset

    Declaration
    protected abstract void Clone(RenderPipelineGlobalSettings src, bool activateAsset)
    Parameters
    Type Name Description
    RenderPipelineGlobalSettings src

    The RenderPipelineGlobalSettings to clone.

    Boolean activateAsset

    if the asset should be shown on the inspector.

    Create(Boolean, Boolean)

    Creates a new 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 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

    VisualElement rootElement

    The VisualElement with the root

    Overrides
    SettingsProvider.OnActivate(String, VisualElement)

    OnDeactivate()

    This method is being called when the provider is deactivated

    Declaration
    public override void OnDeactivate()
    Overrides
    SettingsProvider.OnDeactivate()

    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
    SettingsProvider.OnGUI(String)

    OnTitleBarGUI()

    Method called when the title bar is being rendered

    Declaration
    public override void OnTitleBarGUI()
    Overrides
    SettingsProvider.OnTitleBarGUI()

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 21 July 2023