|
void | AddNeighboursRec (List< QuadtreeNode > arr, QuadtreeNodeHolder holder, int depth, int x, int y, IntRect bounds, QuadtreeNode dontInclude) |
|
bool | CheckCollision (int x, int y) |
|
int | CheckNode (int xs, int ys, int width) |
|
void | CreateNodeRec (QuadtreeNodeHolder holder, int depth, int x, int y) |
|
void | DrawRec (QuadtreeNodeHolder h, int depth, int x, int y, Vector3 parentPos) |
|
override void | GetNodes (GraphNodeDelegateCancelable del) |
| Calls a delegate with all nodes in the graph.
|
|
Vector3 | LocalToWorldPosition (int x, int y, int width) |
|
override void | OnDrawGizmos (bool drawNodes) |
|
QuadtreeNode | QueryPoint (int qx, int qy) |
|
void | RecalculateConnections (QuadtreeNodeHolder holder, int depth, int x, int y) |
|
void | RecalculateConnectionsRec (QuadtreeNodeHolder holder, int depth, int x, int y) |
|
override void | ScanInternal (OnScanStatus statusCallback) |
| Scans the graph, called from AstarPath.ScanInternal Override this function to implement custom scanning logic The statusCallback may be optionally called to show progress info in the editor
|
|
virtual void | Awake () |
| This will be called on the same time as Awake on the gameObject which the AstarPath script is attached to.
|
|
virtual int | CountNodes () |
| Count nodes in the graph.
|
|
virtual void | CreateNodes (int number) |
| Creates a number of nodes with the correct type for the graph.
|
|
virtual void | DeserializeExtraInfo (GraphSerializationContext ctx) |
| Deserializes graph type specific node data.
|
|
NNInfo | GetNearest (Vector3 position) |
| Returns the nearest node to a position using the default NNConstraint.
|
|
NNInfo | GetNearest (Vector3 position, NNConstraint constraint) |
| Returns the nearest node to a position using the specified NNConstraint.
|
|
virtual NNInfo | GetNearest (Vector3 position, NNConstraint constraint, GraphNode hint) |
| Returns the nearest node to a position using the specified NNConstraint.
|
|
virtual NNInfo | GetNearestForce (Vector3 position, NNConstraint constraint) |
| Returns the nearest node to a position using the specified constraint.
|
|
virtual Color | NodeColor (GraphNode node, PathHandler data) |
|
virtual void | OnDestroy () |
| Function for cleaning up references.
|
|
virtual void | PostDeserialization () |
| Called after all deserialization has been done for all graphs.
|
|
virtual void | RelocateNodes (Matrix4x4 oldMatrix, Matrix4x4 newMatrix) |
| Relocates the nodes in this graph.
|
|
void | SafeOnDestroy () |
| SafeOnDestroy should be used when there is a risk that the pathfinding is searching through this graph when called.
|
|
void | Scan () |
|
void | ScanGraph () |
| Consider using AstarPath.Scan () instead since this function might screw things up if there is more than one graph.
|
|
void | ScanInternal () |
|
virtual void | SerializeExtraInfo (GraphSerializationContext ctx) |
| Serializes graph type specific node data.
|
|
void | SetMatrix (Matrix4x4 m) |
| Use to set both matrix and inverseMatrix at the same time.
|
|