Recast Navigation
Navigation-mesh Toolset for Games
dtNode Struct Reference

#include <DetourNode.h>

Public Attributes

float pos [3]
 Position of the node. More...
 
float cost
 Cost from previous node to current node. More...
 
float total
 Cost up to the node. More...
 
unsigned int pidx: DT_NODE_PARENT_BITS
 Index to parent node. More...
 
unsigned int state: DT_NODE_STATE_BITS
 extra state information. A polyRef can have multiple nodes with different extra info. see DT_MAX_STATES_PER_NODE More...
 
unsigned int flags: 3
 Node flags. A combination of dtNodeFlags. More...
 
dtPolyRef id
 Polygon ref the node corresponds to. More...
 

Member Data Documentation

◆ cost

float dtNode::cost

Cost from previous node to current node.

◆ flags

unsigned int dtNode::flags

Node flags. A combination of dtNodeFlags.

◆ id

dtPolyRef dtNode::id

Polygon ref the node corresponds to.

◆ pidx

unsigned int dtNode::pidx

Index to parent node.

◆ pos

float dtNode::pos[3]

Position of the node.

◆ state

unsigned int dtNode::state

extra state information. A polyRef can have multiple nodes with different extra info. see DT_MAX_STATES_PER_NODE

◆ total

float dtNode::total

Cost up to the node.


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