void Enqueue |
( |
Path |
path | ) |
|
void ReturnPaths |
( |
bool |
timeSlice | ) |
|
Returns all paths in the return stack.
Paths which have been processed are put in the return stack. This function will pop all items from the stack and return them to e.g the Seeker requesting them.
- Parameters
-
timeSlice | Do not return all paths at once if it takes a long time, instead return some and wait until the next call. |
A temporary queue for paths which weren't returned due to large processing time.
When some time limit is exceeded in ReturnPaths, paths are put in this queue until the next frame.
Paths contain a member called 'next', so this actually forms a linked list.
- See Also
- ReturnPaths
Holds all paths which are waiting to be flagged as completed.
- See Also
- ReturnPaths
System.Object pathsClaimedSilentlyBy |
|
private |
Paths are claimed silently by some object to prevent them from being recycled while still in use.
This will be set to the AstarPath object.
The documentation for this class was generated from the following file:
- /Users/arong/Unity/a-pathfinding-project/Assets/AstarPathfindingProject/Core/Misc/PathReturnQueue.cs