This version of Unity is unsupported.

OnInspectorGUIContext

class in UnityEditor.TerrainTools


Implements interfaces:IOnInspectorGUI

Description

The context for drawing IMGUI elements pertaining to terrain tools brushes.

Constructors

OnInspectorGUIContextThe constructor for creating OnInspectorGUIContext to make IMGUI calls for drawing brush GUI.

Public Methods

RepaintRepaint the IMGUI elements in the inspector.
ShowBrushesGUICalls on IMGUI code to create the inspector for showing terrain brushes. This takes in flags that allow the user to select which brush attributes to display, such as opacity, size, or all.