Class FilterStackView
Provides methods for rendering the Filter
Inherited Members
Namespace: UnityEditor .TerrainTools
Assembly: Unity.TerrainTools.Editor.dll
Syntax
public class FilterStackView
Constructors
FilterStackView(GUIContent, SerializedObject)
Initializes and returns an instance of Filter
Declaration
public FilterStackView(GUIContent label, SerializedObject serializedFilterStackObject)
Parameters
Type | Name | Description |
---|---|---|
GUIContent | label | The label used for displaying the FilterStaack |
Serialized |
serializedFilterStackObject | The filter stack object to referenc. |
Properties
FilterContext
Gets and sets the Filter
Declaration
public FilterContext FilterContext { get; set; }
Property Value
Type | Description |
---|---|
Filter |
serializedFilterStack
Gets the Serialized Filter Stack object.
Declaration
public SerializedObject serializedFilterStack { get; }
Property Value
Type | Description |
---|---|
Serialized |
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 |
---|---|---|
Scene |
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<Filter |