CS::Animation::AnimatedMeshState Class Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
CS::Animation::AnimatedMeshState Class Reference
Mesh plugins

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>`

Inheritance diagram for CS::Animation::AnimatedMeshState:

List of all members.

## 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.

## Detailed Description

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.

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

- imesh/skeleton2.h