#include <CCAnimation3D.h>
Public Member Functions | |
Animation3D * | getAnimation (const std::string &key) |
var | getAnimation ( var key) |
local | getAnimation ( local key) |
void | addAnimation (const std::string &key, Animation3D *animation) |
var | addAnimation ( var key, var animation) |
local | addAnimation ( local key, local animation) |
void | removeAllAnimations () |
var | removeAllAnimations () |
local | removeAllAnimations () |
void | removeUnusedAnimation () |
var | removeUnusedAnimation () |
local | removeUnusedAnimation () |
Static Public Member Functions | |
static Animation3DCache * | getInstance () |
local | getInstance () |
static void | destroyInstance () |
Protected Member Functions | |
Animation3DCache () | |
Animation3DCache () | |
Animation3DCache () | |
~Animation3DCache () | |
~Animation3DCache () | |
~Animation3DCache () |
Protected Attributes | |
std::unordered_map < std::string, Animation3D * > | _animations |
var | _animations |
local | _animations |
Static Protected Attributes | |
static Animation3DCache * | _cacheInstance |
var | _cacheInstance |
local | _cacheInstance |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
void addAnimation | ( | const std::string & | key, |
Animation3D * | animation | ||
) |
var addAnimation | ( | var | key, |
var | animation | ||
) |
local addAnimation | ( | local | key, |
local | animation | ||
) |
|
static |
|
static |
|
static |
Animation3D* getAnimation | ( | const std::string & | key | ) |
var getAnimation | ( | var | key | ) |
local getAnimation | ( | local | key | ) |
|
static |
|
static |
|
static |
void removeAllAnimations | ( | ) |
var removeAllAnimations | ( | ) |
local removeAllAnimations | ( | ) |
void removeUnusedAnimation | ( | ) |
var removeUnusedAnimation | ( | ) |
local removeUnusedAnimation | ( | ) |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |