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.
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.
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.
// 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.