Vixen
02b45cc4
csharp
public readonly record struct BrushStamp

A single application of a brush: where it landed, and how it was turned.

Read the guide page for this →

Fields and properties (3)

  • public Vector2 Centre

    Where it landed, in world XZ.

  • public float Rotation

    Its angle in radians, counter-clockwise about +Y.

  • public float Flow

    How 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