C# Class org.recast4j.detour.Poly

Defines a polyogn within a dtMeshTile object.
Show file Open project: timotimosky/-Navmesh_Csharp Class Usage Examples

Public Properties

Property Type Description
areaAndtype int
firstLink int
flags int
neis int[]
vertCount int
verts int[]

Private Properties

Property Type Description

Public Methods

Method Description
Poly ( int index, int maxVertsPerPoly )

Method Details

Poly() public method

public Poly ( int index, int maxVertsPerPoly )
index int
maxVertsPerPoly int

Property Details

areaAndtype public property

The bit packed area id and polygon type. @note Use the structure's set and get methods to access this value.
public int areaAndtype
return int

firstLink public property

Index to first link in linked list. (Or #DT_NULL_LINK if there is no link.)
public int firstLink
return int

flags public property

The user defined polygon flags.
public int flags
return int

neis public property

Packed data representing neighbor polygons references and flags for each edge.
public int[] neis
return int[]

vertCount public property

The number of vertices in the polygon.
public int vertCount
return int

verts public property

The indices of the polygon's vertices. The actual vertices are located in MeshTile::verts.
public int[] verts
return int[]