Animation3DCache, used to caching Animation3D objects. More...
Public Member Functions | |
Animation3D * | getAnimation (const std::string &key) |
Get animation by key. More... | |
void | addAnimation (const std::string &key, Animation3D *animation) |
Add animation to cache. More... | |
var | addAnimation ( var key, var animation) |
Add animation to cache. More... | |
local | addAnimation ( local key, local animation) |
Add animation to cache. More... | |
void | removeAllAnimations () |
Remove all animation. | |
void | removeUnusedAnimation () |
Remove unused animation. | |
var | removeUnusedAnimation () |
Remove unused animation. | |
local | removeUnusedAnimation () |
Remove unused animation. | |
Static Public Member Functions | |
static Animation3DCache * | getInstance () |
Get the instance. More... | |
local | getInstance () |
Get the instance. More... | |
static void | destroyInstance () |
Destroy the instance. | |
var | destroyInstance () |
Destroy the instance. | |
local | destroyInstance () |
Destroy the instance. | |
Animation3DCache, used to caching Animation3D objects.
Cache of the Animation3D
|
static |
Get the instance.
Animation3DCache the instance
|
static |
Get the instance.
Animation3DCache the instance
|
static |
Get the instance.
Animation3DCache the instance
Animation3D* getAnimation | ( | const std::string & | key | ) |
Get animation by key.
The key string. The Animation3D object.
var getAnimation | ( | var | key | ) |
Get animation by key.
The key string. The Animation3D object.
local getAnimation | ( | local | key | ) |
Get animation by key.
The key string. The Animation3D object.
void addAnimation | ( | const std::string & | key, |
Animation3D * | animation | ||
) |
Add animation to cache.
The key string The specified animation
var addAnimation | ( | var | key, |
var | animation | ||
) |
Add animation to cache.
The key string The specified animation
local addAnimation | ( | local | key, |
local | animation | ||
) |
Add animation to cache.
The key string The specified animation