Class TerrainSnapshot
A copy of one zone compiler's per-vertex state: level and smooth deltas, the modified-height flags, the paint mask (RGBA) and the modified-paint flags. Compare it with the compiler after a write to see exactly which vertices the write touched, including a flag set without a value change.
public sealed class TerrainSnapshot
- Inheritance
-
objectTerrainSnapshot
Methods
ChangesIn(TerrainComp)
Every vertex of now that differs from this snapshot, exactly (no tolerance).
public List<TerrainChange> ChangesIn(TerrainComp now)
Parameters
nowTerrainComp
Returns
- List<TerrainChange>
Of(TerrainComp)
public static TerrainSnapshot Of(TerrainComp compiler)
Parameters
compilerTerrainComp