ドキュメント

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.