Axmol 3.0.0-89d6d9a
Loading...
Searching...
No Matches
Skeleton3D Class Reference

Skeleton. More...

#include <Skeleton3D.h>

Inherits Object.

Public Member Functions

ssize_t getBoneCount () const
 get total bone count
Bone3D * getBoneByIndex (unsigned int index) const
 get bone
ssize_t getRootCount () const
 get & set root bone
int getBoneIndex (Bone3D *bone) const
 get bone index
void updateBoneMatrix ()
 refresh bone world matrix
void removeAllBones ()
 remove all bones
void addBone (Bone3D *bone)
 add bone
Bone3D * createBone3D (const NodeData &nodedata)
 create Bone3D from NodeData
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 Skeleton3D * create (const std::vector< NodeData * > &skeletondata)
 @lua NA

Detailed Description

Skeleton.


The documentation for this class was generated from the following file:
  • Skeleton3D.h