Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnInspectorGUIContext

The context for drawing IMGUI elements pertaining to terrain tools brushes.
Read time 1 minuteLast updated 12 days ago

Definition

public class OnInspectorGUIContext : IOnInspectorGUI

Constructors

Constructor

Description

OnInspectorGUIContext()The constructor for creating OnInspectorGUIContext to make IMGUI calls for drawing brush GUI.

Methods

Method

Description

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.