TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class MeshSample in Tinman.Terrain.Kernel

Data container for a CLOD mesh sample, before being used to create a new mesh vertex.

sealed class MeshSample  

Public / Attributes

Displacement

The terrain-space vertex displacement (see Displacement).

public field Displacement
type float64

Elevation

The terrain-space vertex elevation (see Elevation).

public field Elevation
type float64

Material

The terrain material (see Material).

public field Material
type int64

Position

The terrain-space position (see IGeometry).

public field Position
type Vec3D

Texture

The terrain texture (see Texture).

public field Texture
type int64

Up

The terrain-space up-vector (see IGeometry).

public field Up
type Vec3D

Public / Methods

SetElevation

Sets the Elevation value and updates Position according to Up.

public method SetElevation (float64 elevation)
params elevation The new elevation value.

SetPosition

Sets the Position value and updates Elevation according to Up.

public method SetPosition (Vec3D position)
params position The new position value.