A* Pathfinding Project
3.7.2
The A* Pathfinding Project for Unity 3D
|
Adjusts start and end points of a path. More...
Adjusts start and end points of a path.
Public Types | |
enum | Exactness { SnapToNode, Original, Interpolate, ClosestOnNode } |
Sets where the start and end points of a path should be placed. More... | |
Public Member Functions | |
override void | Apply (Path _p, ModifierData source) |
Main Post-Processing function. | |
Vector3 | GetClampedPoint (Vector3 from, Vector3 to, GraphNode hint) |
Public Member Functions inherited from PathModifier | |
void | Awake (Seeker s) |
void | OnDestroy (Seeker s) |
void | PreProcess (Path p) |
Public Member Functions inherited from IPathModifier | |
void | Apply (Path p, ModifierData source) |
void | PreProcess (Path p) |
Public Attributes | |
bool | addPoints |
Add points to the path instead of replacing. | |
Exactness | exactEndPoint = Exactness.ClosestOnNode |
Exactness | exactStartPoint = Exactness.ClosestOnNode |
LayerMask | mask = -1 |
bool | useGraphRaycasting |
bool | useRaycasting |
Public Attributes inherited from PathModifier | |
Seeker | seeker |
Properties | |
override ModifierData | input [get] |
override ModifierData | output [get] |
Properties inherited from PathModifier | |
abstract ModifierData | input [get] |
abstract ModifierData | output [get] |
int | Priority [get, set] |
Higher priority modifiers are executed first. | |
Properties inherited from IPathModifier | |
ModifierData | input [get] |
ModifierData | output [get] |
int | Priority [get, set] |
enum Exactness |
Sets where the start and end points of a path should be placed.
|
virtual |
Main Post-Processing function.
Implements PathModifier.
Vector3 GetClampedPoint | ( | Vector3 | from, |
Vector3 | to, | ||
GraphNode | hint | ||
) |
bool addPoints |
Add points to the path instead of replacing.
Exactness exactEndPoint = Exactness.ClosestOnNode |
Exactness exactStartPoint = Exactness.ClosestOnNode |
LayerMask mask = -1 |
bool useGraphRaycasting |
bool useRaycasting |
|
get |
|
get |