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.
Increase the reference count on this path by 1 (for pooling).
Aborts the path because of an error.
May be called by graph nodes to get a special cost for some connections.
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.
Reduces the reference count on the path by 1 (pooling).
Waits until this path has been calculated and returned.
Public Variables
Current state of the path.
True for paths that want to search all nodes and not jump over nodes as optimizations.
Returns the state of the path in the pathfinding pipeline.
Callback to call when the path is complete.
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.
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.
ID of this path.
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.
Always called after the path has been calculated.
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.
Initializes the path.
Called when the path enters the pool.
True if the path is currently pooled.
Called before the path is started.
Prepares low level path variables for calculation.
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.
List of claims on this path with reference objects.
The node currently being processed.
Target to use for H score calculations.
Target to use for H score calculation.
True if the Reset function has been called.
The tag penalties that are actually used.
Tag penalties set by other scripts.
Internal linked list implementation.
Data for the thread calculating this path.
True if the path has been released with a non-silent call yet.
Deprecated Members
True if the path is currently recycled (i.e in the path pool).