Class TerrainDetailBake.Tile
One terrain: its heights (shared by both maps' height textures) and its grass and scatter.
[Serializable]
public sealed class TerrainDetailBake.Tile
- Inheritance
-
TerrainDetailBake.Tile
- Inherited Members
Fields
Data
The terrain data it was baked from (the key).
public TerrainData Data
Field Value
- TerrainData
Grass
public TerrainDetailBake.Grass Grass
Field Value
HeightResolution
The heightmap's resolution, and its samples as 0..1 of the terrain's height in 16 bits, row z first.
public int HeightResolution
Field Value
Heights
public ushort[] Heights
Field Value
- ushort[]
Index
The terrain's index map (empty when none was stored: an old bake, or a terrain not drawn by arrays).
public TerrainDetailBake.IndexMap Index
Field Value
Scatter
public TerrainDetailBake.Scatter Scatter
Field Value
Stale
Set in the editor when the terrain's heights or textures were edited after the bake: the runtime builds it.
public bool Stale