Cocos2d-x  v3.12
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
SkewTo Class Reference

Skews a Node object to given angles by modifying it's skewX and skewY attributes. More...

Inherits ActionInterval.

Inherited by SkewBy.

Public Member Functions

virtual SkewToclone () const override
 override ActionInterval.
 
local clone ()
 override ActionInterval.
 
virtual SkewToreverse (void) const override
 override Action.
 
var reverse ()
 override Action.
 
local reverse ()
 override Action.
 
- Public Member Functions inherited from ActionInterval
float getElapsed (void)
 How many seconds had elapsed since the actions started to run. More...
 
var getElapsed ()
 How many seconds had elapsed since the actions started to run. More...
 
local getElapsed ()
 How many seconds had elapsed since the actions started to run. More...
 
void setAmplitudeRate (float amp)
 Sets the amplitude rate, extension in GridAction. More...
 
float getAmplitudeRate (void)
 Gets the ampliture rate, extension in GridAction. More...
 
virtual bool isDone (void) const override
 override Action.
 
local isDone ()
 override Action.
 

Static Public Member Functions

static SkewTocreate (float t, float sx, float sy)
 Creates the SkewTo action with the duration, x and y axis target skew parameters. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ActionInterval
bool initWithDuration (float d)
 initializes the action with the duration. More...
 
var initWithDuration ( var d)
 initializes the action with the duration. More...
 
local initWithDuration ( local d)
 initializes the action with the duration. More...
 

Detailed Description

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

Member Function Documentation

static SkewTo* create ( float  t,
float  sx,
float  sy 
)
static

Creates the SkewTo action with the duration, x and y axis target skew parameters.

Duration time, in seconds. Skew x angle. Skew y angle. An autoreleased SkewTo object.

var create ( var  t,
var  sx,
var  sy 
)
static

Creates the SkewTo action with the duration, x and y axis target skew parameters.

Duration time, in seconds. Skew x angle. Skew y angle. An autoreleased SkewTo object.

local create ( local  t,
local  sx,
local  sy 
)
static

Creates the SkewTo action with the duration, x and y axis target skew parameters.

Duration time, in seconds. Skew x angle. Skew y angle. An autoreleased SkewTo object.


The documentation for this class was generated from the following file: