Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ShowBrushesGUI(int, BrushGUIEditFlags, int)

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.
Read time 1 minuteLast updated 10 days ago

Definition

public void ShowBrushesGUI(int spacing = 5, BrushGUIEditFlags flags = BrushGUIEditFlags.All, int textureResolutionPerTile = 0)

Parameters

spacing

Indicate how much spacing to use in the GUILayout.

Indicates which brush attributes to display.

textureResolutionPerTile

The height map resolution of the terrain.