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

enum PointInfoFlags in Tinman.Terrain.Meshing

[Flags]
enum PointInfoFlags  

Items

None = 0

This flag value does not contain any flag bit.

Heightmap = 0x01

Flag bit that indicates that the heightmap coordinates have been computed.

Remarks:

If this bit is set in flags, the following fields are valid:

Position = 0x02

Flag bit that indicates that the point coordinates have been computed.

Remarks:

If this bit is set in flags, the following fields are valid:

Normal = 0x04

Flag bit that indicates that the normal vector has been computed.

Remarks:

If this bit is set in flags, the following fields are valid:

Vertices = 0x08

Flag bit that indicates that the triangle vertices have been computed.

Remarks:

If this bit is set in flags, the following fields are valid:

Weights = 0x10

Flag bit that indicates that the barycentric coordinates of the triangle vertices have been computed.

Remarks:

If this bit is set in flags, the following fields are valid:

TangentX = 0x20

Flag bit that indicates that the tangent vector along the heightmap space X-axis has been computed.

Remarks:

If this bit is set in flags, the following fields are valid:

TangentY = 0x40

Flag bit that indicates that the tangent vector along the heightmap space Y-axis has been computed.

Remarks:

If this bit is set in flags, the following fields are valid:

TangentZ = 0x80

Flag bit that indicates that the tangent vector along the heightmap space Z-axis has been computed.

Remarks:

If this bit is set in flags, the following fields are valid:

Tangents = 0xE0

Bitmask of all tangent vectors along the heightmap axes.

See also:

PointInfoFlags.TangentX
PointInfoFlags.TangentY
PointInfoFlags.TangentZ
FaceTangentX = 0x0100

Flag bit that indicates that the tangent vector along the cubemap face X-axis has been computed.

Remarks:

If this bit is set in flags, the following fields are valid:

FaceTangentY = 0x0200

Flag bit that indicates that the tangent vector along the cubemap face Y-axis has been computed.

Remarks:

If this bit is set in flags, the following fields are valid:

FaceTangents = 0x0300

Bitmask of all cubemap face tangent vectors.

See also:

PointInfoFlags.FaceTangentX
PointInfoFlags.FaceTangentY
Elevation = 0x0400

Flag bit that indicates the the terrain-space elevation has been computed.

All = 0x07FF

This flag value contains all flag bits.