Class PostProcessEffectBaseEditor | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class PostProcessEffectBaseEditor

    The base class for all post-processing effect related editors. If you want to customize the look of a custom post-processing effect, inherit from PostProcessEffectEditor<T> instead.

    Inheritance
    System.Object
    PostProcessEffectBaseEditor
    DefaultPostProcessEffectEditor
    PostProcessEffectEditor<T>
    Namespace: UnityEditor.Rendering.PostProcessing
    Syntax
    public class PostProcessEffectBaseEditor

    Methods

    GetDisplayTitle()

    Returns the label to use as the effect title. You can override this to return a custom label, else it will use the effect type as the title.

    Declaration
    public virtual string GetDisplayTitle()
    Returns
    Type Description
    System.String

    The label to use as the effect title

    OnDisable()

    Called when the editor is de-initialized.

    Declaration
    public virtual void OnDisable()

    OnEnable()

    Called when the editor is initialized.

    Declaration
    public virtual void OnEnable()

    OnInspectorGUI()

    Called every time the inspector is being redrawn. This is where you should add your UI drawing code.

    Declaration
    public virtual void OnInspectorGUI()

    PropertyField(SerializedParameterOverride)

    Draws a property UI element.

    Declaration
    protected void PropertyField(SerializedParameterOverride property)
    Parameters
    Type Name Description
    SerializedParameterOverride property

    The property to draw

    PropertyField(SerializedParameterOverride, GUIContent)

    Draws a property UI element with a custom title and/or tooltip.

    Declaration
    protected void PropertyField(SerializedParameterOverride property, GUIContent title)
    Parameters
    Type Name Description
    SerializedParameterOverride property

    The property to draw

    GUIContent title

    A custom title and/or tooltip

    Repaint()

    Repaints the inspector.

    Declaration
    public void Repaint()

    See Also

    PostProcessEffectEditor<T>
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023