Axmol 3.0.0-89d6d9a
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
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.
void step (float dt) override
bool initWithDuration (float d)
 initializes the action

Static Public Member Functions

static SkewBy * create (float t, float deltaSkewX, float deltaSkewY)
 Creates the action.
Static Public Member Functions inherited from SkewTo
static SkewTo * create (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()

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:
  • ActionInterval.h