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.
Inherited Members
Namespace: UnityEditor.Rendering.PostProcessing
Assembly: Unity.Postprocessing.Editor.dll
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 |
---|---|
string | The label to use as the effect title |
See Also
OnDisable()
Called when the editor is de-initialized.
Declaration
public virtual void OnDisable()
See Also
OnEnable()
Called when the editor is initialized.
Declaration
public virtual void OnEnable()
See Also
OnInspectorGUI()
Called every time the inspector is being redrawn. This is where you should add your UI drawing code.
Declaration
public virtual void OnInspectorGUI()
See Also
PropertyField(SerializedParameterOverride)
Draws a property UI element.
Declaration
protected void PropertyField(SerializedParameterOverride property)
Parameters
Type | Name | Description |
---|---|---|
SerializedParameterOverride | property | The property to draw |
See Also
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 |
See Also
Repaint()
Repaints the inspector.
Declaration
public void Repaint()