![]() |
Public API Reference |
![]() |
Holds the state of an animesh skeleton for a frame, ie the position and rotation of each bone of the skeleton. More...
#include <imesh/skeleton2.h>
Public Member Functions | |
AnimatedMeshState () | |
Constructor. | |
size_t | GetBoneCount () const |
Return the count of bones of this skeleton state. | |
const csQuaternion & | GetQuaternion (size_t i) const |
Return the rotation quaternion of the given bone, in bone space. | |
csQuaternion & | GetQuaternion (size_t i) |
Return the rotation quaternion of the given bone, in bone space. | |
const csVector3 & | GetVector (size_t i) const |
Return the position vector of the given bone, in bone space. | |
csVector3 & | GetVector (size_t i) |
Return the position vector of the given bone, in bone space. | |
bool | IsBoneUsed (BoneID bone) const |
Return true if the position and rotation values have been set for the given bone, false otherwise (last position and rotation values which have been set for this bone will therefore be kept). | |
void | Reset () |
Mark all bones as not used. | |
void | SetBoneUsed (BoneID bone) |
Mark that the position and rotation values have been set for the given bone. | |
void | Setup (size_t numBones) |
Initialize the skeleton state. | |
virtual | ~AnimatedMeshState () |
Destructor. |
Holds the state of an animesh skeleton for a frame, ie the position and rotation of each bone of the skeleton.
These transforms are in bind space.
Definition at line 438 of file skeleton2.h.