Axmol Engine 2.4.0-258ceca
Loading...
Searching...
No Matches
SkewTo Class Reference

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

#include <ActionInterval.h>

Inherits ActionInterval.

Inherited by SkewBy.

Public Member Functions

virtual void update (float time) override
 
bool initWithDuration (float t, float sx, float sy)
 
- Public Member Functions inherited from ActionInterval
float getElapsed ()
 How many seconds had elapsed since the actions started to run.
 
void setAmplitudeRate (float amp)
 Sets the amplitude rate, extension in GridAction.
 
float getAmplitudeRate ()
 Gets the amplitude rate, extension in GridAction.
 
virtual void step (float dt) override
 
bool initWithDuration (float d)
 initializes the action
 

Static Public Member Functions

static SkewTocreate (float t, float sx, float sy)
 Creates the action.
 

Detailed Description

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

Since
v1.0

Member Function Documentation

◆ create()

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

Creates the action.

Parameters
tDuration time, in seconds.
sxSkew x angle.
sySkew y angle.
Returns
An autoreleased SkewTo object.

◆ update()

virtual void update ( float time)
overridevirtual
Parameters
timeIn seconds.

◆ initWithDuration()

bool initWithDuration ( float t,
float sx,
float sy )
Parameters
tIn seconds.

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