GAF Library
Generic Animation Format
 All Classes Functions Pages
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
GAFSprite Class Reference

#include <GAFSprite.h>

Inheritance diagram for GAFSprite:
GAFSpriteWithAlpha GAFStencilMaskSprite

Public Member Functions

void setExternaTransform (const CCAffineTransform &transform)
 
void setChildTransform (const CCAffineTransform &transform)
 
virtual void draw ()
 
virtual void setUniformsForFragmentShader ()
 
const CCAffineTransform & childTransform () const
 
const CCAffineTransform & getExternalTransform () const
 
void setLocator (bool locator)
 
void setAtlasScale (float scale)
 
CCAffineTransform nodeToParentTransform (void)
 
void setTexture (CCTexture2D *texture)
 
bool initWithTexture (CCTexture2D *pTexture, const CCRect &rect, bool rotated)
 

Public Attributes

std::string objectId
 

Protected Member Functions

void invalidateTransformCache ()
 

Protected Attributes

CCAffineTransform _externalTransform
 
CCAffineTransform _childTransform
 

Detailed Description

This is utility class used by GAF playback. It does not perform rendering or use OpenGL. Instead, it references backend object via GAFSprite::getExternalPointer.


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