[This is preliminary documentation and is subject to change.]

The mask to apply to the forth element of the vertices data in order to extract region ids. (Removes flags from the element.)

Namespace: org.critterai.nmgen
Assembly: cai-nmgen (in cai-nmgen.dll) Version: 0.4.0.0 (0.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public const int RegionMask
Public Const RegionMask As Integer
public:
literal int RegionMask

Remarks

Example:

CopyC#
int region = verts[i * 4 + 3] & Contour.RegionMask;

See Also