Class Path Extends IPathInternals
Base class for all path types.
Public Methods
Blocks until this path has been calculated and returned.
Claim this path (pooling).
Aborts the path because of an error.
Total Length of the path.
Returns 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.
Which graph tags are traversable.
If the path failed, this is true.
Additional info on why a path failed.
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.
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.
Returns if the node can be traversed.
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.
How long it took to calculate this path in milliseconds.
Performs some error checking.
True for paths that want to search all nodes and not jump over nodes as optimizations.
May be called by graph nodes to get a special cost for some connections.
Returns penalty for the given tag.
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.
Tag penalties set by other scripts.
Internal linked list implementation.
Called when the path enters the pool.
Data for the thread calculating this path.
ID of this path.
Returns the state of the path in the pathfinding pipeline.
True if the path is currently pooled.
Called before the path is started.
Prepares low level path variables for calculation.
True if the path has been released with a non-silent call yet.
Reset all values to their default values.
Calls callback to return the calculated path.
Number of nodes this path has searched.
Traces the calculated path from the end node to the start.
List of zeroes to use as default tag penalties.
Deprecated Members
Returns the state of the path in the pathfinding pipeline.
Logs an error.
True if the path is currently recycled (i.e in the path pool).
Releases the path silently (pooling).