docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class EffectListEditor

    This class is used to draw the user interface in the inspector for all the settings contained in a PostProcessProfile.

    Inheritance
    object
    EffectListEditor
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering.PostProcessing
    Assembly: Unity.Postprocessing.Editor.dll
    Syntax
    public sealed class EffectListEditor

    Constructors

    EffectListEditor(Editor)

    Creates a new instance to be used inside an existing Editor.

    Declaration
    public EffectListEditor(Editor editor)
    Parameters
    Type Name Description
    Editor editor

    A reference to the parent editor instance.

    Properties

    asset

    A reference to the PostProcessProfile being displayed by this editor.

    Declaration
    public PostProcessProfile asset { get; }
    Property Value
    Type Description
    PostProcessProfile

    Methods

    Clear()

    This method should be called when the editor is destroyed or disabled.

    Declaration
    public void Clear()

    Init(PostProcessProfile, SerializedObject)

    Initializes the editor. This method should be called before OnGUI() is called.

    Declaration
    public void Init(PostProcessProfile asset, SerializedObject serializedObject)
    Parameters
    Type Name Description
    PostProcessProfile asset

    A reference to the PostProcessProfile that will be displayed.

    SerializedObject serializedObject

    A SerializedObject of the given asset instance.

    OnGUI()

    Draws the settings for the PostProcessProfile referenced in the editor.

    Declaration
    public void OnGUI()
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)