Polycode::BezierPathTween Class Reference

Tweens a position along a bezier path. More...

Inherits Polycode::Tween.

List of all members.

Public Member Functions

 BezierPathTween (Vector3 *target, BezierCurve *curve, int easeType, Number time, bool repeat=false)
 Constructor.

Detailed Description

Tweens a position along a bezier path.

This class automatically animates a 3d position over a 3d bezier curve. You can use it for 2d curves as well, of course, just ignore the z!


Constructor & Destructor Documentation

BezierPathTween::BezierPathTween ( Vector3 target,
BezierCurve curve,
int  easeType,
Number  time,
bool  repeat = false 
)

Constructor.

Parameters:
target Target vector to animate.
curve The curve to animate along.
easeType Easing type (
See also:
Tween)
Parameters:
time The duration of the tween.
repeat If true, this tween will repeat over and over.
Generated on Sat Aug 11 18:04:12 2012 for Polycode by  doxygen 1.6.3