OnInspectorGUIContext.ShowBrushesGUI

Declaration

public void ShowBrushesGUI(int spacing, TerrainTools.BrushGUIEditFlags flags, int textureResolutionPerTile);

Parameters

spacing Indicate how much spacing to use in the GUILayout.
flags Indicates which brush attributes to display.
textureResolutionPerTile The height map resolution of the terrain.

Description

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.


Did you find this page useful? Please give it a rating: