![]() |
cocos2d-iphone
2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
|
#import <CCActionCatmullRom.h>
Public Member Functions | |
(id) | - initWithDuration:points:tension: |
Static Public Member Functions | |
(id) | + actionWithDuration:points:tension: |
Protected Attributes | |
CCPointArray * | _points |
CGFloat | _deltaT |
CGFloat | _tension |
CGPoint | _previousPosition |
CGPoint | _accumulatedDiff |
Properties | |
CCPointArray * | points |
Cardinal Spline path. http://en.wikipedia.org/wiki/Cubic_Hermite_spline#Cardinal_spline
+ (id) actionWithDuration: | (ccTime) | duration | |
points: | (CCPointArray *) | points | |
tension: | (CGFloat) | tension | |
creates an action with a Cardinal Spline array of points and tension
- (id) initWithDuration: | (ccTime) | duration | |
points: | (CCPointArray *) | points | |
tension: | (CGFloat) | tension | |
initializes the action with a duration and an array of points
- (CCPointArray*) points [read, write, retain] |
Array of control points