Class cc.SkewTo

Class Summary
Constructor Attributes Constructor Name and Description
 
Skews a cc.Node object to given angles by modifying it's skewX and skewY attributes

Method Summary

Class Detail

cc.SkewTo()
Skews a cc.Node object to given angles by modifying it's skewX and skewY attributes

Method Detail

  • {cc.SkewTo} clone()
    returns a new clone of the action
    Returns:
    {cc.SkewTo}
  • <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