A* Pathfinding Project  4.0.8
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
RVOQuadtree.Node Struct Reference

Node in a quadtree for storing RVO agents. More...

Detailed Description

Node in a quadtree for storing RVO agents.

See Also
Pathfinding.GraphNode for the node class that is used for pathfinding data.

Public Member Functions

void Add (Agent agent)
 
float CalculateMaxSpeed (Node[] nodes, int index)
 
void Distribute (Node[] nodes, Rect r)
 Distribute the agents in this node among the children.
 

Public Attributes

int child00
 
int child01
 
int child10
 
int child11
 
byte count
 
Agent linkedList
 
float maxSpeed
 Maximum speed of all agents inside this node.
 

Member Function Documentation

void Add ( Agent  agent)
float CalculateMaxSpeed ( Node[]  nodes,
int  index 
)
void Distribute ( Node[]  nodes,
Rect  r 
)

Distribute the agents in this node among the children.

Used after subdividing the node.

Member Data Documentation

int child00
int child01
int child10
int child11
byte count
Agent linkedList
float maxSpeed

Maximum speed of all agents inside this node.


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