Class CCCardinalSplineTo

#include <Geode/cocos/actions/CCActionCatmullRom.h>
classCCCardinalSplineTo:publiccocos2d::CCActionInterval{ ... }

Cardinal Spline path. http://en.wikipedia.org/wiki/Cubic_Hermite_spline#Cardinal_spline

Examples0
Public static methods1
staticcocos2d::CCCardinalSplineTo*create(
floatduration
,,
floattension
)

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

when thie function bound to js,the input params are changed
js:var create(var duration,var pointTable,var tension)
Public member functions8
boolinitWithDuration(
floatduration
,,
floattension
)

initializes the action with a duration and an array of points

virtualcocos2d::CCCardinalSplineTo*copyWithZone()
No description provided
virtualvoidstartWithTarget()
No description provided
virtualvoidupdate(
floattime
)
No description provided
virtualcocos2d::CCActionInterval*reverse()
No description provided
virtualvoidupdatePosition()
No description provided
cocos2d::CCPointArray*getPoints()
No description provided
voidsetPoints()
No description provided
Fields0
Protected member functions0
Protected fields5
;

Array of control points

floatm_fDeltaT
;
No description provided
floatm_fTension
;
No description provided
cocos2d::CCPointm_previousPosition
;
No description provided
cocos2d::CCPointm_accumulatedDiff
;
No description provided