Class cc.CatmullRomBy

Class Summary
Constructor Attributes Constructor Name and Description
 
cc.CatmullRomBy(dt, points)
An action that moves the target with a CatmullRom curve by a certain distance.

Method Summary

Class Detail

cc.CatmullRomBy(dt, 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 Relative coordinates.
var action1 = cc.catmullRomBy(3, array);
Parameters:
{Number} dt
{Array} points

Field Detail

<static> cc.CatmullRomBy.create
Please use cc.catmullRomBy instead Creates an action with a Cardinal Spline array of points and tension
Deprecated:
since v3.0 please cc.catmullRomBy(dt, points) instead.