Inherits from CCActionInterval : CCFiniteTimeAction : CCAction : NSObject
Declared in CCActionCatmullRom.h

Overview

Cardinal Spline path.

http://en.wikipedia.org/wiki/Cubic_Hermite_spline#Cardinal_spline

Tasks

Properties

points

Array of control points

@property (nonatomic, readwrite, retain) CCPointArray *points

Declared In

CCActionCatmullRom.h

Class Methods

actionWithDuration:points:tension:

creates an action with a Cardinal Spline array of points and tension

+ (id)actionWithDuration:(ccTime)duration points:(CCPointArray *)points tension:(CGFloat)tension

Declared In

CCActionCatmullRom.h

Instance Methods

initWithDuration:points:tension:

initializes the action with a duration and an array of points

- (id)initWithDuration:(ccTime)duration points:(CCPointArray *)points tension:(CGFloat)tension

Declared In

CCActionCatmullRom.h