Class EffectListEditor | Package Manager UI website
docs.unity3d.com
    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
    System.Object
    EffectListEditor
    Namespace: UnityEditor.Rendering.PostProcessing
    Syntax
    public sealed class EffectListEditor

    Constructors

    EffectListEditor(Editor)

    Creates a new instance to be used inside an existing .

    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 of the given asset instance.

    OnGUI()

    Draws the settings for the PostProcessProfile referenced in the editor.

    Declaration
    public void OnGUI()
    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