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

Contains various spline functions. More...

Detailed Description

Contains various spline functions.

Static Public Member Functions

static Vector3 CatmullRom (Vector3 previous, Vector3 start, Vector3 end, Vector3 next, float elapsedTime)
 
static Vector3 CatmullRomOLD (Vector3 previous, Vector3 start, Vector3 end, Vector3 next, float elapsedTime)
 
static Vector3 CubicBezier (Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3, float t)
 Returns a point on a cubic bezier curve.
 

Member Function Documentation

static Vector3 CatmullRom ( Vector3  previous,
Vector3  start,
Vector3  end,
Vector3  next,
float  elapsedTime 
)
static
static Vector3 CatmullRomOLD ( Vector3  previous,
Vector3  start,
Vector3  end,
Vector3  next,
float  elapsedTime 
)
static
static Vector3 CubicBezier ( Vector3  p0,
Vector3  p1,
Vector3  p2,
Vector3  p3,
float  t 
)
static

Returns a point on a cubic bezier curve.

t is clamped between 0 and 1


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