OnInspectorGUIContext
The context for drawing IMGUI elements pertaining to terrain tools brushes.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Class
- Namespace: UnityEditor.TerrainTools
- Assembly: UnityEditor
- Implements: IOnInspectorGUI
public class OnInspectorGUIContext : IOnInspectorGUI
Constructors
Constructor | Description |
|---|---|
| OnInspectorGUIContext() | The constructor for creating OnInspectorGUIContext to make IMGUI calls for drawing brush GUI. |
Methods
Method | Description |
|---|---|
| Repaint | Repaint the IMGUI elements in the inspector. |
| ShowBrushesGUI | Calls 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. |