Axmol Engine 2.4.0-258ceca
|
static animation data, shared More...
#include <Animation3D.h>
Inherits Object.
Classes | |
class | Curve |
animation curve, translation, rotation, and scale More... | |
Public Member Functions | |
float | getDuration () const |
get duration | |
Curve * | getBoneCurveByName (std::string_view name) const |
get bone curve | |
const hlookup::string_map< Curve * > & | getBoneCurves () const |
get the bone Curves set | |
bool | init (const Animation3DData &data) |
init Animation3D from bundle data | |
bool | initWithFile (std::string_view filename, std::string_view animationName) |
init Animation3D with file name and animation name | |
![]() | |
void | retain () |
Retains the ownership. | |
void | release () |
Releases the ownership immediately. | |
Object * | autorelease () |
Releases the ownership sometime soon automatically. | |
unsigned int | getReferenceCount () const |
Returns the Object's current reference count. | |
virtual | ~Object () |
Destructor. | |
Static Public Member Functions | |
static Animation3D * | create (std::string_view filename, std::string_view animationName="") |
read all animation or only the animation with given animationName? | |
Additional Inherited Members | |
![]() | |
unsigned int | _ID |
object id, ScriptSupport need public _ID | |
int | _luaID |
Lua reference id. | |
static animation data, shared
|
static |
read all animation or only the animation with given animationName?
animationName == "" read the first.
Curve * getBoneCurveByName | ( | std::string_view | name | ) | const |
get bone curve
@lua NA