Enumeration of heightmap layers.
[Flags, PersistentEnum]
|
|||||
enum
|
HeightmapLayer
|
None
|
= 0
|
No heightmap layers. |
---|---|---|
Elevation
|
= 0x01
|
Elevation values, interpreted along the terrain-space up-vector. See also: HeightmapSample.ElevationHeightmapSamples.Elevation HeightmapRegion.Elevation |
Texture
|
= 0x02
|
64-bit ARGB color-key values that describe the texture of the terrain surface. See also: HeightmapSample.TextureHeightmapSamples.Texture HeightmapRegion.Texture |
Material
|
= 0x04
|
64-bit material tokens that describe the material of the terrain surface. See also: HeightmapSample.MaterialHeightmapSamples.Material HeightmapRegion.Material MaterialToken |
Displacement
|
= 0x08
|
Elevation values, interpreted along the terrain-space surface normal vector. |
DataMask
|
= 0x0F
|
Bitmask that contains the data layers. See also: HeightmapLayer.ElevationHeightmapLayer.Texture HeightmapLayer.Material HeightmapLayer.Displacement |
RangeMask
|
= 0x09
|
Bitmask that contains all layers that depend on a value range (see VerticalRange). |
Coverage
|
= 0x40000000
|
Sample coverage values. Remarks: The heightmap sample layer values are premultiplied with the coverage amount. This must be taken into account when manually creating heightmap sample data (for example by using the Modulate) method. See also: HeightmapSample.CoverageHeightmapSamples.Coverage HeightmapRegion.Coverage |
All
|
= 0x7FFFFFFF
|
All heightmap layers. |