A* Pathfinding Project  4.0.11
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
AdvancedSmooth Class Reference

Smoothing by dividing path into turns and straight segments. More...

Detailed Description

Smoothing by dividing path into turns and straight segments.

A* Pro Feature:
This is an A* Pathfinding Project Pro feature only. This function/class/variable might not exist in the Free version of the A* Pathfinding Project or the functionality might be limited
The Pro version can be bought here

Classes

class  ConstantTurn
 Constant turning speed. More...
 
class  MaxTurn
 Type of turn. More...
 
struct  Turn
 Represents a turn in a path. More...
 
class  TurnConstructor
 Abstract turn constructor. More...
 

Public Member Functions

override void Apply (Path p)
 Main Post-Processing function.
 
- Public Member Functions inherited from MonoModifier
virtual void OnDestroy ()
 
void OnDisable ()
 
void OnEnable ()
 
virtual void PreProcess (Path p)
 
- Public Member Functions inherited from IPathModifier
void Apply (Path p)
 
void PreProcess (Path p)
 

Public Attributes

MaxTurn turnConstruct1 = new MaxTurn()
 
ConstantTurn turnConstruct2 = new ConstantTurn()
 
float turningRadius = 1.0F
 
- Public Attributes inherited from MonoModifier
Seeker seeker
 

Properties

override int Order [get]
 
- Properties inherited from MonoModifier
abstract int Order [get]
 Modifiers will be executed from lower order to higher order.
 
- Properties inherited from IPathModifier
int Order [get]
 

Private Member Functions

void EvaluatePaths (List< Turn > turnList, List< Vector3 > output)
 

Additional Inherited Members

- Protected Member Functions inherited from MonoModifier
override void Awake ()
 Alerts the Seeker that this modifier exists.
 

Member Function Documentation

override void Apply ( Path  p)
virtual

Main Post-Processing function.

Implements MonoModifier.

void EvaluatePaths ( List< Turn turnList,
List< Vector3 >  output 
)
private

Member Data Documentation

MaxTurn turnConstruct1 = new MaxTurn()
ConstantTurn turnConstruct2 = new ConstantTurn()
float turningRadius = 1.0F

Property Documentation

override int Order
get

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