/*
????
CC_HONOR_PARENT_TRANSFORM_TRANSLATE =? 1 << 0,
//! Rotate with it's parent
CC_HONOR_PARENT_TRANSFORM_ROTATE??? =? 1 << 1,
//! Scale with it's parent
CC_HONOR_PARENT_TRANSFORM_SCALE???? =? 1 << 2,
//! Skew with it's parent
CC_HONOR_PARENT_TRANSFORM_SKEW????? =? 1 << 3,
?
//! All possible transformation enabled. Default value.
CC_HONOR_PARENT_TRANSFORM_ALL?????? =? CC_HONOR_PARENT_TRANSFORM_TRANSLATE | CC_HONOR_PARENT_TRANSFORM_ROTATE | CC_HONOR_PARENT_TRANSFORM_SCALE | CC_HONOR_PARENT_TRANSFORM_SKEW,
?
} ccHonorParentTransform;
CCSprite :
CCNode
{
void
setDirty(
bool
bDirty);
????
isDirty(
);
?
ccV3F_C4B_T2F_Quad getQuad(
);
?
CCRect getTextureRect(
);
//bool isUsesBatchNode(void);
isTextureRectRotated(
);
?
setAtlasIndex(unsigned
int
uAtlasIndex);
unsigned
getAtlasIndex(
);
//void setUsesSpriteBatchNode(bool bUsesSpriteBatchNode);
setTextureAtlas(CCTextureAtlas *pobTextureAtlas);
CCTextureAtlas* getTextureAtlas(
);
//void setSpriteBatchNode(CCSpriteBatchNode *pobSpriteBatchNode);
//CCSpriteBatchNode* getSpriteBatchNode(void);
//void setHonorParentTransform(ccHonorParentTransform eHonorParentTransform);
//ccHonorParentTransform getHonorParentTransform(void);
setBlendFunc(ccBlendFunc blendFunc);
ccBlendFunc getBlendFunc(
);
?
CCPoint getOffsetPosition(
);
?
ignoreAnchorPointForPosition(
newValue);
setFlipX(
bFlipX);
setFlipY(
bFlipY);
isFlipX(
);
isFlipY(
);
?
removeChild(CCNode* pChild,
bCleanUp);
removeAllChildrenWithCleanup(
bCleanup);
reorderChild(CCNode* pChild,monospace!important; font-size:1em!important; line-height:1.1em!important; overflow:visible!important; bottom:auto!important; float:none!important; height:auto!important; left:auto!important; outline:0px!important; position:static!important; right:auto!important; top:auto!important; vertical-align:baseline!important; width:auto!important; min-height:inherit!important; background:none!important"> zOrder);
addChild(CCNode* pChild);
addChild(CCNode* pChild,monospace!important; font-size:1em!important; line-height:1.1em!important; overflow:visible!important; bottom:auto!important; float:none!important; height:auto!important; left:auto!important; outline:0px!important; position:static!important; right:auto!important; top:auto!important; vertical-align:baseline!important; width:auto!important; min-height:inherit!important; background:none!important"> zOrder);
zOrder,monospace!important; font-size:1em!important; line-height:1.1em!important; overflow:visible!important; bottom:auto!important; float:none!important; height:auto!important; left:auto!important; outline:0px!important; position:static!important; right:auto!important; top:auto!important; vertical-align:baseline!important; width:auto!important; min-height:inherit!important; background:none!important"> tag);
sortAllChildren();
//void setPosition(CCPoint pos);
setRotation(
float
rotation);
setSkewX(
sx);
setSkewY(
sy);
setScale(
fScale);
setScaleX(
fScaleX);
setScaleY(
fScaleY);
setVertexZ(
fVertexZ);
setAnchorPoint(
const
CCPoint & anchor);
setVisible(
bVisible);
?
setOpacity(GLubyte opacity);
GLubyte getOpacity(
);
?
setColor(ccColor3B color3);
ccColor3B getColor(
);
setOpacityModifyRGB(
bValue);
isOpacityModifyRGB(
);
?
setTexture(CCTexture2D *texture);
CCTexture2D* getTexture(
);
?
updateTransform(
);
//void useSelfRender(void);
setTextureRect(CCRect rect);
setTextureRect(CCRect rect,monospace!important; font-size:1em!important; line-height:1.1em!important; overflow:visible!important; bottom:auto!important; float:none!important; height:auto!important; left:auto!important; outline:0px!important; position:static!important; right:auto!important; top:auto!important; vertical-align:baseline!important; width:auto!important; min-height:inherit!important; background:none!important"> rotated,CCSize size);
setVertexRect(CCRect rect);
//void useBatchNode(CCSpriteBatchNode *batchNode);
setDisplayFrame(CCSpriteFrame *pNewFrame);
isFrameDisplayed(CCSpriteFrame *pFrame);
CCSpriteFrame* displayFrame(
);
setBatchNode(CCSpriteBatchNode* pBatchNode);
CCSpriteBatchNode* getBatchNode();
setDisplayFrameWithAnimationName(
*animationName,monospace!important; font-size:1em!important; line-height:1.1em!important; overflow:visible!important; bottom:auto!important; float:none!important; height:auto!important; left:auto!important; outline:0px!important; position:static!important; right:auto!important; top:auto!important; vertical-align:baseline!important; width:auto!important; min-height:inherit!important; background:none!important"> frameIndex);
?
CCSprite* createWithTexture(CCTexture2D *pTexture);
CCSprite* createWithTexture(CCTexture2D *pTexture,CCRect rect);
CCSprite* createWithSpriteFrame(CCSpriteFrame *pSpriteFrame);
CCSprite* createWithSpriteFrameName(
*pszSpriteFrameName);
CCSprite* create(
*pszFileName,CCRect rect);
*pszFileName);
CCSprite* create();
};
|