The BrushList
property of the TerrainEditorTool
class provides access to a collection of brushes that can be used within the terrain editor. This property is static, meaning it is shared across all instances of the TerrainEditorTool
class.
The BrushList
property of the TerrainEditorTool
class provides access to a collection of brushes that can be used within the terrain editor. This property is static, meaning it is shared across all instances of the TerrainEditorTool
class.
To access the BrushList
property, you can directly reference it through the TerrainEditorTool
class since it is a static property. This property is useful when you need to retrieve or manipulate the list of available brushes for terrain editing operations.
// Accessing the BrushList property var brushes = TerrainEditorTool.BrushList; // Iterate through the brushes foreach (var brush in brushes) { // Perform operations with each brush // Example: Display brush name Console.WriteLine(brush.Name); }