Brush Brush { get; set; }

robot_2Generated
code_blocksInput

Description

The Brush property of the TerrainEditorTool class provides access to the current brush being used in the terrain editing process. This property is static, meaning it is shared across all instances of the TerrainEditorTool class.

Usage

To use the Brush property, you can directly access it through the TerrainEditorTool class. This property is useful when you need to get or set the current brush for terrain modifications.

Example

// Accessing the current brush used in the Terrain Editor
Editor.TerrainEditor.Brush currentBrush = TerrainEditorTool.Brush;

// Example of setting a new brush
TerrainEditorTool.Brush = new Editor.TerrainEditor.Brush();

// Use the brush in terrain editing operations
// Note: Ensure that the brush is properly configured before use.