Classes | |
class | CCAnimationFrame |
CCAnimationFrame A frame of the animation. More... | |
class | CCAnimation |
A CCAnimation object is used to perform animations on the CCSprite objects. More... | |
class | CCAnimationCache |
Singleton that manages the Animations. More... | |
class | CCSprite |
CCSprite is a 2d image ( http://en.wikipedia.org/wiki/Sprite_(computer_graphics) ) More... | |
class | CCSpriteBatchNode |
CCSpriteBatchNode is like a batch node: if it contains children, it will draw them in 1 single OpenGL call (often known as "batch draw"). More... | |
class | CCSpriteFrame |
A CCSpriteFrame has: More... | |
class | CCSpriteFrameCache |
Singleton that handles the loading of the sprite frames. More... | |
Macros | |
#define | CCSpriteIndexNotInitialized 0xffffffff |
#define | kDefaultSpriteBatchCapacity 29 |
Functions | |
void | updateColor (void) |
virtual void | setTextureCoords (CCRect rect) |
virtual void | updateBlendFunc (void) |
virtual void | setReorderChildDirtyRecursively (void) |
virtual void | setDirtyRecursively (bool bValue) |
Variables | |
CCTextureAtlas * | m_pobTextureAtlas |
unsigned int | m_uAtlasIndex |
CCSpriteBatchNode texture atlas (weak reference) More... | |
CCSpriteBatchNode * | m_pobBatchNode |
Absolute (real) Index on the SpriteSheet. More... | |
bool | m_bDirty |
Used batch node (weak reference) More... | |
bool | m_bRecursiveDirty |
Whether the sprite needs to be updated. More... | |
bool | m_bHasChildren |
Whether all of the sprite's children needs to be updated. More... | |
bool | m_bShouldBeHidden |
Whether the sprite contains children. More... | |
CCAffineTransform | m_transformToBatch |
should not be drawn because one of the ancestors is not visible More... | |
ccBlendFunc | m_sBlendFunc |
CCTexture2D * | m_pobTexture |
It's required for CCTextureProtocol inheritance. More... | |
CCRect | m_obRect |
CCTexture2D object that is used to render the sprite. More... | |
bool | m_bRectRotated |
Retangle of CCTexture2D. More... | |
CCPoint | m_obOffsetPosition |
Whether the texture is rotated. More... | |
CCPoint | m_obUnflippedOffsetPositionFromCenter |
ccV3F_C4B_T2F_Quad | m_sQuad |
bool | m_bOpacityModifyRGB |
bool | m_bFlipX |
bool | m_bFlipY |
Whether the sprite is flipped horizaontally or not. More... | |
Creators | |
static CCSprite * | create () |
Creates an empty sprite without texture. More... | |
static CCSprite * | create (const char *pszFileName) |
Creates a sprite with an image filename. More... | |
static CCSprite * | create (const char *pszFileName, const CCRect &rect) |
Creates a sprite with an image filename and a rect. More... | |
static CCSprite * | createWithTexture (CCTexture2D *pTexture) |
Creates a sprite with an exsiting texture contained in a CCTexture2D object After creation, the rect will be the size of the texture, and the offset will be (0,0). More... | |
static CCSprite * | createWithTexture (CCTexture2D *pTexture, const CCRect &rect) |
Creates a sprite with a texture and a rect. More... | |
static CCSprite * | createWithSpriteFrame (CCSpriteFrame *pSpriteFrame) |
Creates a sprite with an sprite frame. More... | |
static CCSprite * | createWithSpriteFrameName (const char *pszSpriteFrameName) |
Creates a sprite with an sprite frame name. More... | |
Initializers | |
CCSprite (void) | |
Default constructor. More... | |
virtual | ~CCSprite (void) |
Default destructor. More... | |
virtual bool | init (void) |
Initializes an empty sprite with nothing init. More... | |
virtual bool | initWithTexture (CCTexture2D *pTexture) |
Initializes a sprite with a texture. More... | |
virtual bool | initWithTexture (CCTexture2D *pTexture, const CCRect &rect) |
Initializes a sprite with a texture and a rect. More... | |
virtual bool | initWithTexture (CCTexture2D *pTexture, const CCRect &rect, bool rotated) |
Initializes a sprite with a texture and a rect in points, optionally rotated. More... | |
virtual bool | initWithSpriteFrame (CCSpriteFrame *pSpriteFrame) |
Initializes a sprite with an SpriteFrame. More... | |
virtual bool | initWithSpriteFrameName (const char *pszSpriteFrameName) |
Initializes a sprite with an sprite frame name. More... | |
virtual bool | initWithFile (const char *pszFilename) |
Initializes a sprite with an image filename. More... | |
virtual bool | initWithFile (const char *pszFilename, const CCRect &rect) |
Initializes a sprite with an image filename, and a rect. More... | |
Functions inherited from CCTextureProtocol | |
virtual void | setTexture (CCTexture2D *texture) |
Sets a new texuture. More... | |
virtual CCTexture2D * | getTexture (void) |
Returns the currently used texture. More... | |
void | setBlendFunc (ccBlendFunc blendFunc) |
Sets the source blending function. More... | |
ccBlendFunc | getBlendFunc (void) |
Returns the blending function that is currently being used. More... | |
Functions inherited from CCNode | |
virtual void | setScaleX (float fScaleX) |
Changes the scale factor on X axis of this node. More... | |
virtual void | setScaleY (float fScaleY) |
Changes the scale factor on Y axis of this node. More... | |
virtual void | setPosition (const CCPoint &pos) |
Changes the position (x,y) of the node in OpenGL coordinates. More... | |
virtual void | setRotation (float fRotation) |
Sets the rotation (angle) of the node in degrees. More... | |
virtual void | setRotationX (float fRotationX) |
Sets the X rotation (angle) of the node in degrees which performs a horizontal rotational skew. More... | |
virtual void | setRotationY (float fRotationY) |
Sets the Y rotation (angle) of the node in degrees which performs a vertical rotational skew. More... | |
virtual void | setSkewX (float sx) |
Changes the X skew angle of the node in degrees. More... | |
virtual void | setSkewY (float sy) |
Changes the Y skew angle of the node in degrees. More... | |
virtual void | removeChild (CCNode *pChild, bool bCleanup) |
Removes a child from the container. More... | |
virtual void | removeAllChildrenWithCleanup (bool bCleanup) |
Removes all children from the container, and do a cleanup to all running actions depending on the cleanup parameter. More... | |
virtual void | reorderChild (CCNode *pChild, int zOrder) |
Reorders a child according to a new z value. More... | |
virtual void | addChild (CCNode *pChild) |
Adds a child to the container with z-order as 0. More... | |
virtual void | addChild (CCNode *pChild, int zOrder) |
Adds a child to the container with a z-order. More... | |
virtual void | addChild (CCNode *pChild, int zOrder, int tag) |
Adds a child to the container with z order and tag. More... | |
virtual void | sortAllChildren () |
Sorts the children array once before drawing, instead of every time when a child is added or reordered. More... | |
virtual void | setScale (float fScale) |
Changes both X and Y scale factor of the node. More... | |
virtual void | setVertexZ (float fVertexZ) |
Sets the real OpenGL Z vertex. More... | |
virtual void | setAnchorPoint (const CCPoint &anchor) |
Sets the anchor point in percent. More... | |
virtual void | ignoreAnchorPointForPosition (bool value) |
Sets whether the anchor point will be (0,0) when you position this node. More... | |
virtual void | setVisible (bool bVisible) |
Sets whether the node is visible. More... | |
virtual void | draw (void) |
Override this method to draw your own node. More... | |
Functions inherited from CCNodeRGBA | |
virtual void | setColor (const ccColor3B &color3) |
@ More... | |
virtual void | updateDisplayedColor (const ccColor3B &parentColor) |
recursive method that updates display color More... | |
virtual void | setOpacity (GLubyte opacity) |
Changes the opacity. More... | |
virtual void | setOpacityModifyRGB (bool modify) |
Changes the OpacityModifyRGB property. More... | |
virtual bool | isOpacityModifyRGB (void) |
Returns whether or not the opacity will be applied using glColor(R,G,B,opacity) or glColor(opacity, opacity, opacity, opacity) More... | |
virtual void | updateDisplayedOpacity (GLubyte parentOpacity) |
recursive method that updates the displayed opacity. More... | |
BatchNode methods | |
virtual void | updateTransform (void) |
Updates the quad according the rotation, position, scale values. More... | |
virtual CCSpriteBatchNode * | getBatchNode (void) |
Returns the batch node object if this sprite is rendered by CCSpriteBatchNode. More... | |
virtual void | setBatchNode (CCSpriteBatchNode *pobSpriteBatchNode) |
Sets the batch node to sprite. More... | |
Texture methods | |
virtual void | setTextureRect (const CCRect &rect) |
Updates the texture rect of the CCSprite in points. More... | |
virtual void | setTextureRect (const CCRect &rect, bool rotated, const CCSize &untrimmedSize) |
Sets the texture rect, rectRotated and untrimmed size of the CCSprite in points. More... | |
virtual void | setVertexRect (const CCRect &rect) |
Sets the vertex rect. More... | |
Frames methods | |
virtual void | setDisplayFrame (CCSpriteFrame *pNewFrame) |
Sets a new display frame to the CCSprite. More... | |
virtual bool | isFrameDisplayed (CCSpriteFrame *pFrame) |
Returns whether or not a CCSpriteFrame is being displayed. More... | |
virtual CCSpriteFrame * | displayFrame (void) |
Returns the current displayed frame. More... | |
Animation methods | |
virtual void | setDisplayFrameWithAnimationName (const char *animationName, int frameIndex) |
Changes the display frame with animation name and index. More... | |
Sprite Properties' setter/getters | |
virtual bool | isDirty (void) |
Whether or not the Sprite needs to be updated in the Atlas. More... | |
virtual void | setDirty (bool bDirty) |
Makes the Sprite to be updated in the Atlas. More... | |
ccV3F_C4B_T2F_Quad | getQuad (void) |
Returns the quad (tex coords, vertex coords and color) information. More... | |
bool | isTextureRectRotated (void) |
Returns whether or not the texture rectangle is rotated. More... | |
unsigned int | getAtlasIndex (void) |
Returns the index used on the TextureAtlas. More... | |
void | setAtlasIndex (unsigned int uAtlasIndex) |
Sets the index used on the TextureAtlas. More... | |
const CCRect & | getTextureRect (void) |
Returns the rect of the CCSprite in points. More... | |
CCTextureAtlas * | getTextureAtlas (void) |
Gets the weak reference of the CCTextureAtlas when the sprite is rendered using via CCSpriteBatchNode. More... | |
void | setTextureAtlas (CCTextureAtlas *pobTextureAtlas) |
Sets the weak reference of the CCTextureAtlas when the sprite is rendered using via CCSpriteBatchNode. More... | |
const CCPoint & | getOffsetPosition (void) |
Gets the offset position of the sprite. More... | |
bool | isFlipX (void) |
Returns the flag which indicates whether the sprite is flipped horizontally or not. More... | |
void | setFlipX (bool bFlipX) |
Sets whether the sprite should be flipped horizontally or not. More... | |
bool | isFlipY (void) |
Return the flag which indicates whether the sprite is flipped vertically or not. More... | |
void | setFlipY (bool bFlipY) |
Sets whether the sprite should be flipped vertically or not. More... | |
#define CCSpriteIndexNotInitialized 0xffffffff |
#define kDefaultSpriteBatchCapacity 29 |
CCSprite | ( | void | ) |
Default constructor.
|
virtual |
Default destructor.
|
virtual |
Adds a child to the container with z-order as 0.
If the child is added to a 'running' node, then 'onEnter' and 'onEnterTransitionDidFinish' will be called immediately.
child | A child node |
Reimplemented from CCNode.
|
virtual |
Adds a child to the container with a z-order.
If the child is added to a 'running' node, then 'onEnter' and 'onEnterTransitionDidFinish' will be called immediately.
child | A child node |
zOrder | Z order for drawing priority. Please refer to setZOrder(int) |
Reimplemented from CCNode.
|
virtual |
Adds a child to the container with z order and tag.
If the child is added to a 'running' node, then 'onEnter' and 'onEnterTransitionDidFinish' will be called immediately.
child | A child node |
zOrder | Z order for drawing priority. Please refer to setZOrder(int) |
tag | A interger to identify the node easily. Please refer to setTag(int) |
Reimplemented from CCNode.
|
static |
Creates an empty sprite without texture.
You can call setTexture method subsequently.
|
static |
Creates a sprite with an image filename.
After creation, the rect of sprite will be the size of the image, and the offset will be (0,0).
pszFileName | The string which indicates a path to image file, e.g., "scene1/monster.png". |
|
static |
Creates a sprite with an image filename and a rect.
pszFileName | The string wich indicates a path to image file, e.g., "scene1/monster.png" |
rect | Only the contents inside rect of pszFileName's texture will be applied for this sprite. |
|
static |
Creates a sprite with an sprite frame.
pSpriteFrame | A sprite frame which involves a texture and a rect |
|
static |
Creates a sprite with an sprite frame name.
A CCSpriteFrame will be fetched from the CCSpriteFrameCache by pszSpriteFrameName param. If the CCSpriteFrame doesn't exist it will raise an exception.
pszSpriteFrameName | A null terminated string which indicates the sprite frame name. |
|
static |
Creates a sprite with an exsiting texture contained in a CCTexture2D object After creation, the rect will be the size of the texture, and the offset will be (0,0).
pTexture | A pointer to a CCTexture2D object. |
|
static |
Creates a sprite with a texture and a rect.
After creation, the offset will be (0,0).
pTexture | A pointer to an existing CCTexture2D object. You can use a CCTexture2D object for many sprites. |
rect | Only the contents inside the rect of this texture will be applied for this sprite. |
|
virtual |
Returns the current displayed frame.
|
virtual |
Override this method to draw your own node.
The following GL states will be enabled by default:
Reimplemented from CCNode.
Reimplemented in CCTextFieldTTF.
|
inline |
Returns the index used on the TextureAtlas.
|
virtual |
Returns the batch node object if this sprite is rendered by CCSpriteBatchNode.
|
inlinevirtual |
Returns the blending function that is currently being used.
Implements CCBlendProtocol.
|
inline |
Gets the offset position of the sprite.
Calculated automatically by editors like Zwoptex.
|
inline |
Returns the quad (tex coords, vertex coords and color) information.
|
virtual |
Returns the currently used texture.
Implements CCTextureProtocol.
|
inline |
Gets the weak reference of the CCTextureAtlas when the sprite is rendered using via CCSpriteBatchNode.
|
inline |
Returns the rect of the CCSprite in points.
|
virtual |
Sets whether the anchor point will be (0,0) when you position this node.
This is an internal method, only used by CCLayer and CCScene. Don't call it outside framework. The default value is false, while in CCLayer and CCScene are true
ignore | true if anchor point will be (0,0) when you position this node |
Reimplemented from CCNode.
|
virtual |
Initializes an empty sprite with nothing init.
Reimplemented from CCNodeRGBA.
Reimplemented in CCLabelTTF.
|
virtual |
Initializes a sprite with an image filename.
This method will find pszFilename from local file system, load its content to CCTexture2D, then use CCTexture2D to create a sprite. After initialization, the rect used will be the size of the image. The offset will be (0,0).
pszFilename | The path to an image file in local file system |
Reimplemented in CCSkin.
|
virtual |
Initializes a sprite with an image filename, and a rect.
This method will find pszFilename from local file system, load its content to CCTexture2D, then use CCTexture2D to create a sprite. After initialization, the offset will be (0,0).
pszFilename | The path to an image file in local file system. |
rect | The rectangle assigned the content area from texture. |
|
virtual |
Initializes a sprite with an SpriteFrame.
The texture and rect in SpriteFrame will be applied on this sprite
pSpriteFrame | A CCSpriteFrame object. It should includes a valid texture and a rect |
|
virtual |
Initializes a sprite with an sprite frame name.
A CCSpriteFrame will be fetched from the CCSpriteFrameCache by name. If the CCSpriteFrame doesn't exist it will raise an exception.
pszSpriteFrameName | A key string that can fected a volid CCSpriteFrame from CCSpriteFrameCache |
Reimplemented in CCSkin.
|
virtual |
Initializes a sprite with a texture.
After initialization, the rect used will be the size of the texture, and the offset will be (0,0).
pTexture | A pointer to an existing CCTexture2D object. You can use a CCTexture2D object for many sprites. |
|
virtual |
Initializes a sprite with a texture and a rect.
After initialization, the offset will be (0,0).
pTexture | A pointer to an exisiting CCTexture2D object. You can use a CCTexture2D object for many sprites. |
rect | Only the contents inside rect of this texture will be applied for this sprite. |
|
virtual |
Initializes a sprite with a texture and a rect in points, optionally rotated.
After initialization, the offset will be (0,0).
pTexture | A CCTexture2D object whose texture will be applied to this sprite. |
rect | A rectangle assigned the contents of texture. |
rotated | Whether or not the texture rectangle is rotated. |
|
inlinevirtual |
Whether or not the Sprite needs to be updated in the Atlas.
Reimplemented in CCPhysicsSprite.
bool isFlipX | ( | void | ) |
Returns the flag which indicates whether the sprite is flipped horizontally or not.
It only flips the texture of the sprite, and not the texture of the sprite's children. Also, flipping the texture doesn't alter the anchorPoint. If you want to flip the anchorPoint too, and/or to flip the children too use: sprite->setScaleX(sprite->getScaleX() * -1);
bool isFlipY | ( | void | ) |
Return the flag which indicates whether the sprite is flipped vertically or not.
It only flips the texture of the sprite, and not the texture of the sprite's children. Also, flipping the texture doesn't alter the anchorPoint. If you want to flip the anchorPoint too, and/or to flip the children too use: sprite->setScaleY(sprite->getScaleY() * -1);
|
virtual |
Returns whether or not a CCSpriteFrame is being displayed.
|
virtual |
Returns whether or not the opacity will be applied using glColor(R,G,B,opacity) or glColor(opacity, opacity, opacity, opacity)
Reimplemented from CCNodeRGBA.
|
inline |
Returns whether or not the texture rectangle is rotated.
|
virtual |
Removes all children from the container, and do a cleanup to all running actions depending on the cleanup parameter.
cleanup | true if all running actions on all children nodes should be cleanup, false oterwise. |
Reimplemented from CCNode.
|
virtual |
Removes a child from the container.
It will also cleanup all running actions depending on the cleanup parameter.
child | The child node which will be removed. |
cleanup | true if all running actions and callbacks on the child node will be cleanup, false otherwise. |
Reimplemented from CCNode.
|
virtual |
Reorders a child according to a new z value.
child | An already added child node. It MUST be already added. |
zOrder | Z order for drawing priority. Please refer to setZOrder(int) |
Reimplemented from CCNode.
|
virtual |
Sets the anchor point in percent.
anchorPoint is the point around which all transformations and positioning manipulations take place. It's like a pin in the node where it is "attached" to its parent. The anchorPoint is normalized, like a percentage. (0,0) means the bottom-left corner and (1,1) means the top-right corner. But you can use values higher than (1,1) and lower than (0,0) too. The default anchorPoint is (0.5,0.5), so it starts in the center of the node.
anchorPoint | The anchor point of node. |
Reimplemented from CCNode.
|
inline |
Sets the index used on the TextureAtlas.
|
virtual |
Sets the batch node to sprite.
|
inlinevirtual |
Sets the source blending function.
blendFunc | A structure with source and destination factor to specify pixel arithmetic, e.g. {GL_ONE, GL_ONE}, {GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA}. |
Implements CCBlendProtocol.
|
virtual |
@
Reimplemented from CCNodeRGBA.
|
inlinevirtual |
Makes the Sprite to be updated in the Atlas.
|
protectedvirtual |
|
virtual |
Sets a new display frame to the CCSprite.
|
virtual |
Changes the display frame with animation name and index.
The animation name will be get from the CCAnimationCache
void setFlipX | ( | bool | bFlipX) |
Sets whether the sprite should be flipped horizontally or not.
bFlipX | true if the sprite should be flipped horizaontally, false otherwise. |
void setFlipY | ( | bool | bFlipY) |
Sets whether the sprite should be flipped vertically or not.
bFlipY | true if the sprite should be flipped vertically, flase otherwise. |
|
virtual |
Changes the opacity.
value | Goes from 0 to 255, where 255 means fully opaque and 0 means fully transparent. |
Reimplemented from CCNodeRGBA.
|
virtual |
Changes the OpacityModifyRGB property.
If thie property is set to true, then the rendered color will be affected by opacity. Normally, r = r * opacity/255, g = g * opacity/255, b = b * opacity/255.
bValue | true then the opacity will be applied as: glColor(R,G,B,opacity); false then the opacity will be applied as: glColor(opacity, opacity, opacity, opacity); |
Reimplemented from CCNodeRGBA.
|
virtual |
Changes the position (x,y) of the node in OpenGL coordinates.
Usually we use ccp(x,y) to compose CCPoint object. The original point (0,0) is at the left-bottom corner of screen. For example, this codesnip sets the node in the center of screen.
position | The position (x,y) of the node in OpenGL coordinates |
Reimplemented from CCNode.
Reimplemented in CCPhysicsSprite.
|
protectedvirtual |
|
virtual |
Sets the rotation (angle) of the node in degrees.
0 is the default rotation angle. Positive values rotate node clockwise, and negative values for anti-clockwise.
fRotation | The roration of the node in degrees. |
Reimplemented from CCNode.
Reimplemented in CCPhysicsSprite.
|
virtual |
Sets the X rotation (angle) of the node in degrees which performs a horizontal rotational skew.
0 is the default rotation angle. Positive values rotate node clockwise, and negative values for anti-clockwise.
fRotationX | The X rotation in degrees which performs a horizontal rotational skew. |
Reimplemented from CCNode.
|
virtual |
Sets the Y rotation (angle) of the node in degrees which performs a vertical rotational skew.
0 is the default rotation angle. Positive values rotate node clockwise, and negative values for anti-clockwise.
fRotationY | The Y rotation in degrees. |
Reimplemented from CCNode.
|
virtual |
Changes both X and Y scale factor of the node.
1.0 is the default scale factor. It modifies the X and Y scale at the same time.
scale | The scale factor for both X and Y axis. |
Reimplemented from CCNode.
|
virtual |
Changes the scale factor on X axis of this node.
The deafult value is 1.0 if you haven't changed it before
fScaleX | The scale factor on X axis. |
Reimplemented from CCNode.
|
virtual |
Changes the scale factor on Y axis of this node.
The Default value is 1.0 if you haven't changed it before.
fScaleY | The scale factor on Y axis. |
Reimplemented from CCNode.
|
virtual |
Changes the X skew angle of the node in degrees.
This angle describes the shear distortion in the X direction. Thus, it is the angle between the Y axis and the left edge of the shape The default skewX angle is 0. Positive values distort the node in a CW direction.
fSkewX | The X skew angle of the node in degrees. |
Reimplemented from CCNode.
|
virtual |
Changes the Y skew angle of the node in degrees.
This angle describes the shear distortion in the Y direction. Thus, it is the angle between the X axis and the bottom edge of the shape The default skewY angle is 0. Positive values distort the node in a CCW direction.
fSkewY | The Y skew angle of the node in degrees. |
Reimplemented from CCNode.
|
virtual |
Sets a new texuture.
It will be retained.
texture | A valid CCTexture2D object, which will be applied to this sprite object. |
Implements CCTextureProtocol.
|
inline |
Sets the weak reference of the CCTextureAtlas when the sprite is rendered using via CCSpriteBatchNode.
|
protectedvirtual |
|
virtual |
Updates the texture rect of the CCSprite in points.
It will call setTextureRect:rotated:untrimmedSize with rotated = NO, and utrimmedSize = rect.size.
|
virtual |
Sets the texture rect, rectRotated and untrimmed size of the CCSprite in points.
It will update the texture coordinates and the vertex rectangle.
|
virtual |
Sets the vertex rect.
It will be called internally by setTextureRect. Useful if you want to create 2x images from SD images in Retina Display. Do not call it manually. Use setTextureRect instead.
|
virtual |
Sets the real OpenGL Z vertex.
Differences between openGL Z vertex and cocos2d Z order:
fVertexZ | OpenGL Z vertex of this node. |
Reimplemented from CCNode.
|
virtual |
Sets whether the node is visible.
The default value is true, a node is default to visible
visible | true if the node is visible, false if the node is hidden. |
Reimplemented from CCNode.
|
virtual |
Sorts the children array once before drawing, instead of every time when a child is added or reordered.
This appraoch can improves the performance massively.
Reimplemented from CCNode.
|
protectedvirtual |
|
protected |
|
virtual |
recursive method that updates display color
Reimplemented from CCNodeRGBA.
|
virtual |
recursive method that updates the displayed opacity.
Reimplemented from CCNodeRGBA.
|
virtual |
|
protected |
Used batch node (weak reference)
|
protected |
|
protected |
Whether the sprite is flipped horizaontally or not.
|
protected |
Whether all of the sprite's children needs to be updated.
|
protected |
|
protected |
Retangle of CCTexture2D.
|
protected |
Whether the sprite needs to be updated.
|
protected |
Whether the sprite contains children.
|
protected |
Whether the texture is rotated.
|
protected |
CCTexture2D object that is used to render the sprite.
|
protected |
|
protected |
Absolute (real) Index on the SpriteSheet.
|
protected |
It's required for CCTextureProtocol inheritance.
|
protected |
|
protected |
|
protected |
|
protected |
should not be drawn because one of the ancestors is not visible
|
protected |
CCSpriteBatchNode texture atlas (weak reference)