HeightmapSamples
Description
- Derived from
The HeightmapSamples class is a container for storing unrelated heightmap samples.
Public / Methods
Clone
Returns a clone of this HeightmapSamples buffer.
The data arrays are shared between this buffer and the returned one. The helper objects are independent.
Public / Attributes
Coverage
The relative sample coverage values or null
if IHeightmapLayers.LayerMask does not contain the HeightmapLayer.Coverage flag.
Displacement
The normalized displacement values or null
if IHeightmapLayers.LayerMask does not contain the HeightmapLayer.Displacement flag.
Elevation
The normalized elevation values or null
if IHeightmapLayers.LayerMask does not contain the HeightmapLayer.Elevation flag.
Helper
A helper object that is attached to this heightmap sample buffer.
Heightmaps can attach private helper objects to heightmap samples buffers in order to optimize subsequent heightmap accesses using the same buffer.
- See also
Material
The token (see MaterialToken) values that describe the material of the terrain surface or null
if IHeightmapLayers.LayerMask does not contain the HeightmapLayer.Material flag.
Texture
The color (see Colors) values that describe the texture of the terrain surface or null
if IHeightmapLayers.LayerMask does not contain the HeightmapLayer.Texture flag.