Brush Brush { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Brush property of the TerrainPaintParameters struct represents the brush used for painting operations on terrain within the editor. This property is crucial for defining the shape and characteristics of the brush that will be applied to the terrain surface.

Usage

To use the Brush property, you need to have an instance of the TerrainPaintParameters struct. You can then set or get the Brush property to specify or retrieve the brush being used for terrain painting operations.

Example

// Example of setting the Brush property
TerrainPaintParameters paintParams = new TerrainPaintParameters();
paintParams.Brush = new Brush(); // Assuming Brush is a valid type with a default constructor

// Example of getting the Brush property
Brush currentBrush = paintParams.Brush;