cocos2d-x  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SkewFrame Class Reference

#include <CCFrame.h>

Inheritance diagram for SkewFrame:
Frame Ref RotationSkewFrame

Public Member Functions

 SkewFrame ()
virtual void onEnter (Frame *nextFrame, int currentFrameIndex) override
virtual void apply (float percent) override
virtual Frameclone () override
void setSkewX (float skewx)
float getSkewX () const
void setSkewY (float skewy)
float getSkewY () const
- Public Member Functions inherited from Frame
virtual void setFrameIndex (unsigned int frameIndex)
virtual unsigned int getFrameIndex () const
virtual void setTimeline (Timeline *timeline)
local setTimeline ( local timeline)
virtual TimelinegetTimeline () const
virtual void setNode (cocos2d::Node *node)
local setNode ( local node)
virtual cocos2d::NodegetNode () const
local getNode ()
virtual void setTween (bool tween)
local setTween ( local tween)
virtual bool isTween () const
var isTween ()
local isTween ()
virtual bool isEnterWhenPassed ()
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Releases the ownership immediately. More...
 
Refautorelease ()
 Releases the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()

Static Public Member Functions

static SkewFramecreate ()

Protected Attributes

float _skewX
float _skewY
float _betweenSkewX
float _betweenSkewY
- Protected Attributes inherited from Frame
unsigned int _frameIndex
bool _tween
bool _enterWhenPassed
Timeline_timeline
cocos2d::Node_node
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 

Additional Inherited Members

- Protected Member Functions inherited from Frame
 Frame ()
virtual ~Frame ()
virtual void emitEvent ()
virtual void cloneProperty (Frame *frame)
local cloneProperty ( local frame)
- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 

Constructor & Destructor Documentation

SkewFrame ( )

Member Function Documentation

virtual void apply ( float  percent)
overridevirtual

Reimplemented from Frame.

Reimplemented in RotationSkewFrame.

virtual Frame* clone ( )
overridevirtual

Implements Frame.

Reimplemented in RotationSkewFrame.

static SkewFrame* create ( )
static
float getSkewX ( ) const
inline
float getSkewY ( ) const
inline
virtual void onEnter ( Frame nextFrame,
int  currentFrameIndex 
)
overridevirtual

Implements Frame.

Reimplemented in RotationSkewFrame.

void setSkewX ( float  skewx)
inline
void setSkewY ( float  skewy)
inline

Member Data Documentation

float _betweenSkewX
protected
float _betweenSkewY
protected
float _skewX
protected
float _skewY
protected

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