Class FilterStackView
Provides methods for rendering the FilterStack within the inspector.
Namespace: UnityEditor.TerrainTools
Syntax
public class FilterStackView
Constructors
FilterStackView(GUIContent, SerializedObject)
Initializes and returns an instance of FilterStackView.
Declaration
public FilterStackView(GUIContent label, SerializedObject serializedFilterStackObject)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.GUIContent | label | The label used for displaying the FilterStaack |
UnityEditor.SerializedObject | serializedFilterStackObject | The filter stack object to referenc. |
Properties
FilterContext
Gets and sets the FilterContext.
Declaration
public FilterContext FilterContext { get; set; }
Property Value
Type | Description |
---|---|
FilterContext |
serializedFilterStack
Gets the Serialized Filter Stack object.
Declaration
public SerializedObject serializedFilterStack { get; }
Property Value
Type | Description |
---|---|
UnityEditor.SerializedObject |
Methods
OnGUI()
Renders the FilterStack inspector GUI.
Declaration
public void OnGUI()
OnSceneGUI(SceneView)
Renders the FilterStack SceneView GUI.
Declaration
public void OnSceneGUI(SceneView sceneView)
Parameters
Type | Name | Description |
---|---|---|
UnityEditor.SceneView | sceneView | The SceneView used for rendering. |
Events
onChanged
Calls the methods in its invocation list when the FilterStackView is changed.
Declaration
public event Action<FilterStack> onChanged
Event Type
Type | Description |
---|---|
Action<FilterStack> |