Vixen
02b45cc4
csharp
public readonly record struct TerrainTargetRow

One row of the target-layer panel: what the layer is, and how much of the terrain it covers.

Read the guide page for this →

Remarks

⚠ The coverage is the histogram [§ The terrain panel] asks for, reduced to one number. A per-layer histogram of a four-million-sample terrain is a bar nobody reads; what an artist actually needs from that section is "this layer is at zero and I do not know why" — which is the state you get into by painting over your base layer — and one number answers it.

Fields and properties (5)

  • public int Index

    Which paint channel it is.

  • public TerrainLayerDescription Layer

    The ground it paints.

  • public TerrainBlend Blend

    Whether it takes part in the sum-to-one budget.

  • public float Coverage

    How much of the terrain it covers, 0…1.

  • public string Caption

    What the row says, beside its name.

Methods (1)

  • public TerrainTargetRow(int Index, TerrainLayerDescription Layer, TerrainBlend Blend, float Coverage)

    One row of the target-layer panel: what the layer is, and how much of the terrain it covers.

Used by (2)

  • TerrainLayerSettingsVixen.Editor.Terrain
  • TerrainPaintModeTestsVixen.Editor.Terrain.Tests