docs.unity.cn
    Show / Hide Table of Contents

    Class RenderPipelineGlobalSettingsProvider<TRenderPipeline, TGlobalSettings>

    Render Pipeline Settings provider

    Inheritance
    Object
    UnityEditor.SettingsProvider
    RenderPipelineGlobalSettingsProvider<TRenderPipeline, TGlobalSettings>
    Inherited Members
    UnityEditor.SettingsProvider.HasSearchInterest(System.String)
    UnityEditor.SettingsProvider.OnFooterBarGUI()
    UnityEditor.SettingsProvider.OnInspectorUpdate()
    UnityEditor.SettingsProvider.Repaint()
    UnityEditor.SettingsProvider.PopulateSearchKeywordsFromGUIContentProperties<T>()
    UnityEditor.SettingsProvider.GetSearchKeywordsFromGUIContentProperties<T>()
    UnityEditor.SettingsProvider.GetSearchKeywordsFromSerializedObject(UnityEditor.SerializedObject)
    UnityEditor.SettingsProvider.GetSearchKeywordsFromPath(System.String)
    UnityEditor.SettingsProvider.label
    UnityEditor.SettingsProvider.settingsPath
    UnityEditor.SettingsProvider.scope
    UnityEditor.SettingsProvider.keywords
    UnityEditor.SettingsProvider.guiHandler
    UnityEditor.SettingsProvider.titleBarGuiHandler
    UnityEditor.SettingsProvider.footerBarGuiHandler
    UnityEditor.SettingsProvider.activateHandler
    UnityEditor.SettingsProvider.deactivateHandler
    UnityEditor.SettingsProvider.hasSearchInterestHandler
    UnityEditor.SettingsProvider.inspectorUpdateHandler
    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
    UnityEditor.SettingsProvider.OnActivate(System.String, UnityEngine.UIElements.VisualElement)

    OnDeactivate()

    This method is being called when the provider is deactivated

    Declaration
    public override void OnDeactivate()
    Overrides
    UnityEditor.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
    UnityEditor.SettingsProvider.OnGUI(System.String)

    OnTitleBarGUI()

    Method called when the title bar is being rendered

    Declaration
    public override void OnTitleBarGUI()
    Overrides
    UnityEditor.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 07 July 2023