OnInspectorGUIContext
The context for drawing IMGUI elements pertaining to terrain tools brushes.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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. |