CCActionSkewBy Class Reference

Inherits from CCActionSkewTo : CCActionInterval : CCActionFiniteTime : CCAction : NSObject
Conforms to NSCopying
Declared in CCActionInterval.h

Overview

This action skews a target by the specified skewX and skewY degrees values. Skewing changes the rectangular shape of the node to that of a parallelogram.

Creating a Skew Action

– initWithDuration:skewX:skewY:

Initializes the action.

- (id)initWithDuration:(CCTime)t skewX:(float)sx skewY:(float)sy

Parameters

t

Action duration.

sx

X skew delta value in degrees, between -90 and 90.

sy

Y skew delta value in degrees, between -90 and 90.

Return Value

New skew action.

Declared In

CCActionInterval.h