PointInfoFlags

Description

[Flags]
enum Tinman.Terrain.Meshing.PointInfoFlags

Enumeration of picking result information flags.

Public / Constants

None

public constant None → (0:int32)

This flag value does not contain any flag bit.

Heightmap

public constant Heightmap → (1:int32)

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

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

Position

public constant Position → (2:int32)

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

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

Normal

public constant Normal → (4:int32)

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

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

Vertices

public constant Vertices → (8:int32)

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

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

Weights

public constant Weights → (16:int32)

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

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

Elevation

public constant Elevation → (32:int32)

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

Sector

public constant Sector → (64:int32)

Flag bit that indicates that the mesh sector has been computed.

All

public constant All → (127:int32)

This flag value contains all flag bits.