Public Member Functions | |
Sprite3DData * | getSpriteData (const std::string &key) const |
get the SpriteData struct More... | |
bool | addSprite3DData (const std::string &key, Sprite3DData *spritedata) |
add the SpriteData into Sprite3D by given the specified key More... | |
var | addSprite3DData ( var key, var spritedata) |
add the SpriteData into Sprite3D by given the specified key More... | |
void | removeSprite3DData (const std::string &key) |
remove the SpriteData from Sprite3D by given the specified key | |
local | removeSprite3DData ( local key) |
remove the SpriteData from Sprite3D by given the specified key | |
void | removeAllSprite3DData () |
remove all the SpriteData from Sprite3D | |
var | removeAllSprite3DData () |
remove all the SpriteData from Sprite3D | |
local | removeAllSprite3DData () |
remove all the SpriteData from Sprite3D | |
Static Public Member Functions | |
static Sprite3DCache * | getInstance () |
get & destroy | |
var | getInstance () |
get & destroy | |
local | getInstance () |
get & destroy | |
the cache data of Sprite3D, use to speed up Sprite3D::create
Sprite3DData* getSpriteData | ( | const std::string & | key | ) | const |
get the SpriteData struct
var getSpriteData | ( | var | key | ) |
get the SpriteData struct
bool addSprite3DData | ( | const std::string & | key, |
Sprite3DData * | spritedata | ||
) |
add the SpriteData into Sprite3D by given the specified key
var addSprite3DData | ( | var | key, |
var | spritedata | ||
) |
add the SpriteData into Sprite3D by given the specified key