⚠️ This documentation corresponds to the latest development branch of axmol. It might diverge from the official releases.
|
Axmol Engine 3.0.0-dff292a
|
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 tlx::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 | |
| Public Member Functions inherited from Object | |
| 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 | |
| Public Attributes inherited from Object | |
| 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