Version: 2023.1
言語: 日本語
public void ShowBrushesGUI (int spacing, TerrainTools.BrushGUIEditFlags flags, int textureResolutionPerTile);

パラメーター

spacing Pixel spacing for the brush GUI controls.
flags Specifies which brush controls to display in the Terrain tool UI.
textureResolutionPerTile The resolution per Terrain tile of the Texture, which the tool is editing. Unity uses this value to calculate Brush size limits.

説明

Displays the default controls for the brush in the tool inspector.

If the tool is editing multiple Textures on a Terrain, textureResolutionPerTile is the largest resolution among them. See Also: IOnPaint.brushSize and IOnPaint.brushStrength.