Class FilterStackView
Provides methods for rendering the FilterStack within the inspector.
Inherited Members
Namespace: UnityEditor.TerrainTools
Assembly: Unity.TerrainTools.Editor.dll
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 | 
|---|---|---|
| GUIContent | label | The label used for displaying the FilterStaack  | 
      
| 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 | 
|---|---|
| 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 | 
|---|---|---|
| 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> |