Class TileHeights
One tile's low-resolution heightmap (a MARE payload): a 17x17 grid of int16 heights with a 16x16 grid of midpoints, on the same scale as the full-resolution ADT heights. The background mountain silhouettes are drawn from these.
public class TileHeights : IDisposable
- Inheritance
-
TileHeights
- Implements
- Inherited Members
Constructors
TileHeights()
public TileHeights()
TileHeights(short[], short[])
public TileHeights(short[] outer, short[] inner)
Parameters
TileHeights(TileHeights)
Copy-construct: a deep copy of other (the C++ copy constructor).
public TileHeights(TileHeights other)
Parameters
otherTileHeights
Properties
Inner
The 16 x 16 inner (midpoint) heights, row-major.
public FixedArray<short> Inner { get; set; }
Property Value
Outer
The 17 x 17 outer grid heights, row-major.
public FixedArray<short> Outer { get; set; }
Property Value
Methods
Dispose()
Release the native object now. Optional: the finalizer releases it on
collection anyway - dispose (or using) when you want native memory back
promptly.
public virtual void Dispose()