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

#include <CCDatas.h>

Inheritance diagram for CCFrameData:
CCBaseData CCObject CCCopying

Public Member Functions

 CCFrameData ()
 ~CCFrameData ()
virtual void copy (const CCBaseData *node)
- Public Member Functions inherited from CCBaseData
 CCBaseData ()
 ~CCBaseData (void)
virtual void subtract (CCBaseData *from, CCBaseData *to, bool limit)
virtual void setColor (const ccColor4B &color)
var setColor ( var color)
virtual ccColor4B getColor ()
- Public Member Functions inherited from CCObject
 CCObject (void)
virtual ~CCObject (void)
void release (void)
void retain (void)
CCObjectautorelease (void)
CCObjectcopy (void)
bool isSingleReference (void) const
unsigned int retainCount (void) const
virtual bool isEqual (const CCObject *pObject)
virtual void acceptVisitor (CCDataVisitor &visitor)
virtual void update (float dt)
- Public Member Functions inherited from CCCopying
virtual CCObjectcopyWithZone (CCZone *pZone)

Static Public Member Functions

static CCFrameDatacreate (void)
- Static Public Member Functions inherited from CCBaseData
static CCBaseDatacreate (void)

Public Attributes

int frameID
int duration
CCTweenType tweenEasing
 The frame will last duration frames. More...
 
int easingParamNumber
 Every frame's tween easing effect. More...
 
float * easingParams
bool isTween
int displayIndex
 Whether it's a tween key frame. More...
 
ccBlendFunc blendFunc
std::string strEvent
std::string strMovement
 strMovement, strEvent, strSound, strSoundEffect do not support yet More...
 
std::string strSound
std::string strSoundEffect
- Public Attributes inherited from CCBaseData
float x
float y
 position x attribute More...
 
int zOrder
 position y attribute More...
 
float skewX
 zorder attribute, used to order the CCBone's depth order More...
 
float skewY
float scaleX
float scaleY
float tweenRotate
bool isUseColorInfo
 SkewX, SkewY, and TweenRotate effect the rotation. More...
 
int a
 Whether or not this frame have the color changed Info. More...
 
int r
int g
int b
- Public Attributes inherited from CCObject
unsigned int m_uID
int m_nLuaID

Additional Inherited Members

- Protected Attributes inherited from CCObject
unsigned int m_uReference
unsigned int m_uAutoReleaseCount

Constructor & Destructor Documentation

Member Function Documentation

virtual void copy ( const CCBaseData node)
virtual

Reimplemented from CCBaseData.

static CCFrameData* create ( void  )
inlinestatic

Member Data Documentation

ccBlendFunc blendFunc
int displayIndex

Whether it's a tween key frame.

The current display index when change to this frame. If value is -1, then display will not be shown.

int duration
int easingParamNumber

Every frame's tween easing effect.

float* easingParams
int frameID
bool isTween
std::string strEvent
std::string strMovement

strMovement, strEvent, strSound, strSoundEffect do not support yet

std::string strSound
std::string strSoundEffect
CCTweenType tweenEasing

The frame will last duration frames.


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