Class cc.SkewTo
Extends
cc.ActionInterval.
Defined in: CCActionInterval.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Skews a cc.Node object to given angles by modifying it's skewX and skewY attributes
|
Method Attributes | Method Name and Description |
---|---|
<static> |
cc.SkewTo.create(t, sx, sy)
|
initWithDuration(t, sx, sy)
|
|
startWithTarget(target)
|
|
update(t)
|
- Methods borrowed from class cc.ActionInterval:
- getAmplitudeRate, getElapsed, isDone, reverse, setAmplitudeRate, step
- Methods borrowed from class cc.FiniteTimeAction:
- getDuration, setDuration
- Methods borrowed from class cc.Action:
- copy, copyWithZone, description, getOriginalTarget, getTag, getTarget, release, retain, setOriginalTarget, setTag, setTarget, stop
Class Detail
cc.SkewTo()
Skews a cc.Node object to given angles by modifying it's skewX and skewY attributes
Method Detail
<static>
{cc.SkewTo}
cc.SkewTo.create(t, sx, sy)
// example var actionTo = cc.SkewTo.create(2, 37.2, -37.2);
- Parameters:
- {Number} t
- time in seconds
- {Number} sx
- {Number} sy
- Returns:
- {cc.SkewTo}
{Boolean}
initWithDuration(t, sx, sy)
- Parameters:
- {Number} t
- time in seconds
- {Number} sx
- {Number} sy
- Returns:
- {Boolean}
startWithTarget(target)
- Parameters:
- {cc.Node} target
update(t)
- Parameters:
- {Number} t
- time in seconds