文档

Unity Engine

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.
阅读时间1 分钟最后更新于 1 个月前

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.