A* Pathfinding Project
3.6.1
The A* Pathfinding Project for Unity 3D
|
Base class for path modifiers which can be attached to GameObjects. More...
Base class for path modifiers which can be attached to GameObjects.
Public Member Functions | |
abstract void | Apply (Path p, ModifierData source) |
Main Post-Processing function. | |
virtual Vector3[] | Apply (GraphNode[] path, Vector3 start, Vector3 end, int startIndex, int endIndex, NavGraph graph) |
virtual Vector3[] | Apply (Vector3[] path, Vector3 start, Vector3 end) |
virtual void | ApplyOriginal (Path p) |
void | Awake () |
Alerts the Seeker that this modifier exists. | |
void | OnDestroy () |
void | OnDisable () |
void | OnEnable () |
virtual void | PreProcess (Path p) |
Public Member Functions inherited from IPathModifier | |
void | Apply (Path p, ModifierData source) |
void | ApplyOriginal (Path p) |
void | PreProcess (Path p) |
Public Attributes | |
int | priority = 0 |
Higher priority modifiers are executed first. | |
Seeker | seeker |
Properties | |
abstract ModifierData | input [get] |
abstract ModifierData | output [get] |
int | Priority [get, set] |
Properties inherited from IPathModifier | |
ModifierData | input [get] |
ModifierData | output [get] |
int | Priority [get, set] |
|
pure virtual |
Main Post-Processing function.
Implemented in RadiusModifier, SimpleSmoothModifier, AlternativePath, RaycastModifier, AdvancedSmooth, and FunnelModifier.
|
virtual |
|
virtual |
void Awake | ( | ) |
Alerts the Seeker that this modifier exists.
void OnDestroy | ( | ) |
void OnDisable | ( | ) |
void OnEnable | ( | ) |
|
virtual |
int priority = 0 |
Higher priority modifiers are executed first.
Seeker seeker |
|
get |
|
get |
|
getset |