Planeshift
dtOffMeshConnection Struct Reference

Defines an navigation mesh off-mesh connection within a dtMeshTile object. An off-mesh connection is a user defined traversable connection made up to two vertices. More...

#include <DetourNavMesh.h>

Public Attributes

unsigned char flags
 Link flags. More...
 
unsigned short poly
 The polygon reference of the connection within the tile. More...
 
float pos [6]
 The endpoints of the connection. [(ax, ay, az, bx, by, bz)]. More...
 
float rad
 The radius of the endpoints. [Limit: >= 0]. More...
 
unsigned char side
 End point side. More...
 
unsigned int userId
 The id of the offmesh connection. (User assigned when the navigation mesh is built.) More...
 

Detailed Description

Defines an navigation mesh off-mesh connection within a dtMeshTile object. An off-mesh connection is a user defined traversable connection made up to two vertices.

Definition at line 171 of file DetourNavMesh.h.

Member Data Documentation

unsigned char dtOffMeshConnection::flags

Link flags.

Note
These are not the connection's user defined flags. Those are assigned via the connection's dtPoly definition. These are link flags used for internal purposes.

Definition at line 185 of file DetourNavMesh.h.

unsigned short dtOffMeshConnection::poly

The polygon reference of the connection within the tile.

Definition at line 180 of file DetourNavMesh.h.

float dtOffMeshConnection::pos[6]

The endpoints of the connection. [(ax, ay, az, bx, by, bz)].

For a properly built navigation mesh, vertex A will always be within the bounds of the mesh. Vertex B is not required to be within the bounds of the mesh.

Definition at line 174 of file DetourNavMesh.h.

float dtOffMeshConnection::rad

The radius of the endpoints. [Limit: >= 0].

Definition at line 177 of file DetourNavMesh.h.

unsigned char dtOffMeshConnection::side

End point side.

Definition at line 188 of file DetourNavMesh.h.

unsigned int dtOffMeshConnection::userId

The id of the offmesh connection. (User assigned when the navigation mesh is built.)

Definition at line 191 of file DetourNavMesh.h.


The documentation for this struct was generated from the following file: