Axmol 3.0.0-89d6d9a
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
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.
uint64_t getObjectID () const noexcept
 Returns the process-local diagnostic identifier assigned at construction.
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?

Detailed Description

static animation data, shared

Member Function Documentation

◆ create()

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:
  • Animation3D.h