Vixen
02b45cc4
csharp
public interface IBrushMask

Where a masked brush reads its weights.

Read the guide page for this →

Remarks

The seam that keeps this assembly free of an image type. A mask is a function from a unit square to a number; whether that is a texture, a procedural noise or a test's lambda is not something a falloff curve needs to know. See [docs/plan/31 § D12].

Methods (1)

  • float Sample(Vector2 uv)

    The mask's value at a point of the unit square.

Used by (5)

  • ConstantMaskVixen.Terrain.Tests
  • RecordingMaskVixen.Terrain.Tests
  • TerrainBrushVixen.Terrain
  • TerrainPaintVixen.Terrain
  • TerrainSculptVixen.Terrain