![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCActionCatmullRom.h>
Public Member Functions | |
(id) | - initWithDuration:points: |
Static Public Member Functions | |
(id) | + actionWithDuration:points: |
An action that moves the target with a CatmullRom curve by a certain distance. A Catmull Rom is a Cardinal Spline with a tension of 0.5. http://en.wikipedia.org/wiki/Cubic_Hermite_spline#Catmull.E2.80.93Rom_spline
+ (id) actionWithDuration: | (ccTime) | dt | |
points: | (CCPointArray *) | points | |
creates an action with a Cardinal Spline array of points and tension
- (id) initWithDuration: | (ccTime) | dt | |
points: | (CCPointArray *) | points | |
initializes the action with a duration and an array of points