A* Pathfinding Project
3.8.5
The A* Pathfinding Project for Unity 3D
|
Interface to expose a subset of the WorkItemProcessor functionality. More...
Interface to expose a subset of the WorkItemProcessor functionality.
Public Member Functions | |
void | EnsureValidFloodFill () |
If a WorkItem needs to have a valid flood fill during execution, call this method to ensure there are no pending flood fills. | |
void | QueueFloodFill () |
Call during work items to queue a flood fill. | |
void EnsureValidFloodFill | ( | ) |
If a WorkItem needs to have a valid flood fill during execution, call this method to ensure there are no pending flood fills.
void QueueFloodFill | ( | ) |
Call during work items to queue a flood fill.
An instant flood fill can be done via FloodFill() but this method can be used to batch several updates into one to increase performance. WorkItems which require a valid Flood Fill in their execution can call EnsureValidFloodFill to ensure that a flood fill is done if any earlier work items queued one.
Once a flood fill is queued it will be done after all WorkItems have been executed.