A* Pathfinding Project  3.1.4
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Enumerations Properties Groups Pages
MonoModifier Class Referenceabstract

Base class for path modifiers which can be attached to GameObjects. More...

+ Inheritance diagram for MonoModifier:
+ Collaboration diagram for MonoModifier:

Public Member Functions

abstract void Apply (Path p, ModifierData source)
 Main Post-Processing function.
 
virtual Vector3[] Apply (Node[] 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]
 

Detailed Description

Base class for path modifiers which can be attached to GameObjects.

See Also
[AddComponentMenu("CONTEXT/Seeker/Something")] Modifier

Member Function Documentation

virtual Vector3 [] Apply ( Node[]  path,
Vector3  start,
Vector3  end,
int  startIndex,
int  endIndex,
NavGraph  graph 
)
virtual
virtual Vector3 [] Apply ( Vector3[]  path,
Vector3  start,
Vector3  end 
)
virtual
Deprecated:
This is for all other position only modifiers (mostly smoothers)
virtual void ApplyOriginal ( Path  p)
virtual

The documentation for this class was generated from the following file: