6 #include "sprite_nodes/CCSprite.h"
7 #include "cocoa/CCAffineTransform.h"
23 using namespace cocos2d;
33 void setExternaTransform(
const CCAffineTransform& transform);
34 void setChildTransform(
const CCAffineTransform& transform);
38 virtual void setUniformsForFragmentShader();
40 inline const CCAffineTransform &childTransform()
const
42 return _childTransform;
44 const CCAffineTransform& getExternalTransform()
const
46 return _externalTransform;
48 inline void setLocator(
bool locator)
52 void setAtlasScale(
float scale);
53 CCAffineTransform nodeToParentTransform(
void);
54 void setTexture(CCTexture2D *texture);
55 bool initWithTexture(CCTexture2D *pTexture,
const CCRect& rect,
bool rotated);
57 CCAffineTransform _externalTransform;
58 CCAffineTransform _childTransform;
59 void invalidateTransformCache();
62 bool _useSeparateBlendFunc;
69 #endif // __GAF_SPRITE__
Definition: GAFSprite.h:29
Definition: GAFSprite.h:10