Class EffectListEditor
This class is used to draw the user interface in the inspector for all the settings contained in a PostProcessProfile.
Namespace: UnityEditor.Rendering.PostProcessing
Syntax
public sealed class EffectListEditor : object
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 |
OnGUI()
Draws the settings for the PostProcessProfile referenced in the editor.
Declaration
public void OnGUI()