Class cc.CatmullRomBy
- Defined in: CCActionCatmullRom.js
- Extends cc.CardinalSplineBy
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
An action that moves the target with a CatmullRom curve by a certain distance. |
Method Summary
Class Detail
cc.CatmullRomBy()
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
var action1 = cc.catmullRomBy(3, array);
Field Detail
<static>
cc.CatmullRomBy.create
Please use cc.catmullRomBy instead
Creates an action with a Cardinal Spline array of points and tension