TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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: 24
 Index to parent node. More...
 
unsigned int state: 2
 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

float dtNode::cost

Cost from previous node to current node.

unsigned int dtNode::flags

Node flags. A combination of dtNodeFlags.

dtPolyRef dtNode::id

Polygon ref the node corresponds to.

unsigned int dtNode::pidx

Index to parent node.

float dtNode::pos[3]

Position of the node.

unsigned int dtNode::state

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

float dtNode::total

Cost up to the node.


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