Class Path Extends IPathInternals
Base class for all path types.
Public Methods
Blocks until this path has been calculated and returned.
Returns if the node can be traversed.
Returns if the path can traverse a link between from and to and if to can be traversed itself.
Claim this path (pooling).
Aborts the path because of an error.
May be called by graph nodes to get a special cost for some connections.
State of the path in the pathfinding pipeline.
Returns penalty for the given tag.
Total Length of the path.
Returns the cost of traversing the given node.
True if this path is done calculating.
Releases a path claim (pooling).
Waits until this path has been calculated and returned.
Public Variables
Callback to call when the path is complete.
Current state of the path.
How long it took to calculate this path in milliseconds.
Which graph tags are traversable.
If the path failed, this is true.
Additional info on why a path failed.
True for paths that want to search all nodes and not jump over nodes as optimizations.
Determines which heuristic to use.
Scale of the heuristic values.
Immediate callback to call when the path is complete.
Constraint for how to search for nodes.
Holds the path as a Node array.
ID of this path.
Returns the state of the path in the pathfinding pipeline.
Number of nodes this path has searched.
Penalties for each tag.
Provides additional traversal information to a path request.
Holds the (possibly post processed) path as a Vector3 list.
Private/Protected Members
Threadsafe increment of the state.
Estimated cost from the specified node to the target.
Calculates the until it is complete or the time has progressed past targetTick.
List of claims on this path with reference objects.
Always called after the path has been calculated.
The node currently being processed.
Returns a string with information about it.
Writes text shared for all overrides of DebugString to the string builder.
Writes text shared for all overrides of DebugString to the string builder.
Performs some error checking.
True if the Reset function has been called.
Target to use for H score calculations.
Target to use for H score calculation.
Initializes the path.
The tag penalties that are actually used.
Logs an error.
Tag penalties set by other scripts.
Internal linked list implementation.
Called when the path enters the pool.
Data for the thread calculating this path.
True if the path is currently pooled.
Called before the path is started.
Prepares low level path variables for calculation.
True if the path is currently recycled (i.e in the path pool).
True if the path has been released with a non-silent call yet.
Releases the path silently (pooling).
Reset all values to their default values.
Calls callback to return the calculated path.
Traces the calculated path from the end node to the start.
List of zeroes to use as default tag penalties.