Class TerrainDetailBake.Scatter
The GPU detail scatter's maps of one terrain (DetailScatterTerrain).
[Serializable]
public sealed class TerrainDetailBake.Scatter
- Inheritance
-
TerrainDetailBake.Scatter
- Inherited Members
Fields
Baked
public bool Baked
Field Value
BlockStarts
public ushort[] BlockStarts
Field Value
- ushort[]
Blocks
Blocks per side, and detail cells per block side (what an entry's painted-cell mask means).
public int Blocks
Field Value
ChannelPrefabs
public GameObject[] ChannelPrefabs
Field Value
- GameObject[]
Channels
Per channel, its placement: the prototypes' sizes, noise and ground alignment, and its seed.
public TerrainDetailBake.ScatterChannel[] Channels
Field Value
ClampedBlocks
public int ClampedBlocks
Field Value
ClampedChannel
public int ClampedChannel
Field Value
DensityScale
The detail density scale the counts were baked at: a player whose quality setting differs builds the terrain.
public float DensityScale
Field Value
Entries
public uint[] Entries
Field Value
- uint[]
Factor
public int Factor
Field Value
Holes
The painted holes (R8 on the heights' grid, 0 a hole); empty when it has none.
public byte[] Holes
Field Value
- byte[]
ItemEntryStart
The sparse density (DetailScatterDensity, 2026-10-27): per work item its first entry (and the total at the end), its 65 block starts relative to it, and every painted (block, channel) pair, one uint each (DetailScatterMath.PackEntry).
public int[] ItemEntryStart
Field Value
- int[]
ItemMax
public float[] ItemMax
Field Value
- float[]
ItemMin
Per item, its ground height range.
public float[] ItemMin
Field Value
- float[]
LayerChannels
public int[] LayerChannels
Field Value
- int[]
LayerPrototypes
public int[] LayerPrototypes
Field Value
- int[]
Present
public bool Present