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

Skews a Node object by skewX and skewY degrees. More...

#include <ActionInterval.h>

Inherits SkewTo.

Public Member Functions

bool initWithDuration (float t, float sx, float sy)
 
- Public Member Functions inherited from SkewTo
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 SkewBycreate (float t, float deltaSkewX, float deltaSkewY)
 Creates the action.
 
- Static Public Member Functions inherited from SkewTo
static SkewTocreate (float t, float sx, float sy)
 Creates the action.
 

Detailed Description

Skews a Node object by skewX and skewY degrees.

Since
v1.0

Member Function Documentation

◆ create()

static SkewBy * create ( float t,
float deltaSkewX,
float deltaSkewY )
static

Creates the action.

Parameters
tDuration time, in seconds.
deltaSkewXSkew x delta angle.
deltaSkewYSkew y delta angle.
Returns
An autoreleased SkewBy object.

◆ initWithDuration()

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

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