CCActionCatmullRomBy Class Reference
| Inherits from | CCActionCardinalSplineBy : CCActionCardinalSplineTo : CCActionInterval : CCActionFiniteTime : CCAction : NSObject |
| Declared in | CCActionCatmullRom.h |
Overview
Creates an action, based on a catmull-rom spline path.
A Catmull Rom is a Cardinal Spline with a tension of 0.5. See CCActionCardinalSplineTo for further information.
Class Methods
actionWithDuration:points:
Creates an action, performing a catmull-rom spline. This is similar to creating a cardinal spline, with a tension of 0.5.
+ (id)actionWithDuration:(CCTime)dt points:(CCPointArray *)pointsParameters
- dt
Action duration.
- points
Points to use for spline.
Return Value
New catmull-rom action.
Declared In
CCActionCatmullRom.hInstance Methods
initWithDuration:points:
Initializes an action, performing a catmull-rom spline. This is similar to creating a cardinal spline, with a tension of 0.5.
- (id)initWithDuration:(CCTime)dt points:(CCPointArray *)pointsParameters
- dt
Action duration.
- points
Points to use for spline.
Return Value
New catmull-rom action.
Declared In
CCActionCatmullRom.h