csharp
public readonly record struct BrushStampA single application of a brush: where it landed, and how it was turned.
Fields and properties (3)
public Vector2 CentreWhere it landed, in world XZ.
public float RotationIts angle in radians, counter-clockwise about +Y.
public float FlowHow much of the brush's strength this stamp carries, 0…1. Below one for the partial stamp a stroke ends on, and for a pressure-sensitive stylus.
Methods (1)
public BrushStamp(Vector2 Centre, float Rotation = 0, float Flow = 1)A single application of a brush: where it landed, and how it was turned.
Used by (14)
- BrushStrokeVixen.Terrain
- BrushStrokeTestsVixen.Terrain.Tests
- TerrainBrushVixen.Terrain
- TerrainBrushTestsVixen.Terrain.Tests
- TerrainLayerTestsVixen.Terrain.Tests
- TerrainPaintVixen.Terrain
- TerrainPaintTestsVixen.Terrain.Tests
- TerrainSculptVixen.Terrain
- TerrainSculptTestsVixen.Terrain.Tests
- TerrainStrokeVixen.Terrain
- TerrainStrokeTestsVixen.Terrain.Tests
- TerrainWeightStrokeVixen.Terrain
- TerrainEditVixen.Editor.Terrain
- TerrainHoleStrokeVixen.Editor.Terrain