Axmol Engine 2.4.0-258ceca
Loading...
Searching...
No Matches
Animation3D Class Reference

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
 
CurvegetBoneCurveByName (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
 
- Public Member Functions inherited from Object
void retain ()
 Retains the ownership.
 
void release ()
 Releases the ownership immediately.
 
Objectautorelease ()
 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 Animation3Dcreate (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.
 

Detailed Description

static animation data, shared

Member Function Documentation

◆ create()

static Animation3D * create ( std::string_view filename,
std::string_view animationName = "" )
static

read all animation or only the animation with given animationName?

animationName == "" read the first.

◆ getBoneCurveByName()

Curve * getBoneCurveByName ( std::string_view name) const

get bone curve

@lua NA


The documentation for this class was generated from the following file: