HeightmapLayer

Description

[Flags] [SemanticEnum]
enum Tinman.Terrain.Heightmaps.HeightmapLayer

Enumeration of heightmap layers.

Public / Constants

None

public constant None → (0:int32)

No heightmap layers.

Elevation

public constant Elevation → (1:int32)

Elevation values, interpreted along the terrain-space up-vector.

Texture

public constant Texture → (2:int32)

64-bit ARGB color-key values that describe the texture of the terrain surface.

Material

public constant Material → (4:int32)

64-bit material tokens that describe the material of the terrain surface.

Displacement

public constant Displacement → (8:int32)

Elevation values, interpreted along the terrain-space surface normal vector.

Coverage

public constant Coverage → (1073741824:int32)

Sample coverage values.

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 HeightmapRegion.Modulate) method.

All

public constant All → (1073741839:int32)

All heightmap layers.