Dungeon Architect  17.0.0
SharpNav.Crowds.PathQueue Class Reference

Public Member Functions

 PathQueue (int maxPathSize, int maxSearchNodeCount, ref TiledNavMesh nav)
 
void Update (int maxIters)
 
int Request (int startRef, int endRef, Vector3 startPos, Vector3 endPos)
 Request an empty slot in the path queue More...
 
Status GetRequestStatus (int reference)
 Get the status of the polygon in the path queue More...
 
bool GetPathResult (int reference, int[] path, ref int pathSize, int maxPath)
 

Static Public Attributes

const byte Invalid = 0
 

Detailed Description

Definition at line 18 of file PathQueue.cs.

Member Function Documentation

◆ GetRequestStatus()

Status SharpNav.Crowds.PathQueue.GetRequestStatus ( int  reference)

Get the status of the polygon in the path queue

Parameters
referenceThe polygon reference
Returns
The status in the queue

Definition at line 163 of file PathQueue.cs.

◆ Request()

int SharpNav.Crowds.PathQueue.Request ( int  startRef,
int  endRef,
Vector3  startPos,
Vector3  endPos 
)

Request an empty slot in the path queue

Parameters
startRefStart polygon reference
endRefEnd polygon reference
startPosStart position
endPosEnd position
Returns
Index of empty slot

Definition at line 122 of file PathQueue.cs.


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