A* Pathfinding Project  4.1.26
The A* Pathfinding Project for Unity 3D
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. More...
 

Public Attributes

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

Member Function Documentation

◆ Add()

void Add ( Agent  agent)

◆ CalculateMaxSpeed()

float CalculateMaxSpeed ( Node []  nodes,
int  index 
)

◆ Distribute()

void Distribute ( Node []  nodes,
Rect  r 
)

Distribute the agents in this node among the children.

Used after subdividing the node.

Member Data Documentation

◆ child00

int child00

◆ count

byte count

◆ linkedList

Agent linkedList

◆ maxSpeed

float maxSpeed

Maximum speed of all agents inside this node.


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