csharp
public readonly record struct TerrainTargetRowOne row of the target-layer panel: what the layer is, and how much of the terrain it covers.
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 IndexWhich paint channel it is.
public TerrainLayerDescription LayerThe ground it paints.
public TerrainBlend BlendWhether it takes part in the sum-to-one budget.
public float CoverageHow much of the terrain it covers, 0…1.
public string CaptionWhat 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