|
|
|
|
|
ad::Anim Struct ReferenceTop animation data structure.
More...
#include <animation.h>
Collaboration diagram for ad::Anim:
[legend]List of all members.
|
Public Member Functions |
| Anim (std::string filename) |
| Loads the animation data from an .ada file.
|
| ~Anim () |
| Destroy the Anim.
|
Public Attributes |
Hierarchy * | bones |
| dynamic instance
|
unsigned int | numFrames |
Pose ** | frames |
| dynamic array of dynamically allocated poses
|
float | fps |
Detailed Description
Top animation data structure.
A collection of sampled frames that make up an animation. Also stores the the skeletal hierarchy. This is strictly the data, and contains no information about the playback of the animation. Because of this abstraction, there can be several AnimPlayer instances sharing the data. - See also:
- ad::Pose, ad::AnimCacher, ad::AnimPlayer
Constructor & Destructor Documentation
ad::Anim::Anim |
( |
std::string |
filename |
) |
|
|
|
Loads the animation data from an .ada file.
- Parameters:
-
| filename | The path and filename to an ada animation file. |
|
|
Destroy the Anim.
This will also cause the Hierarchy and the poses for each frame to deconstruct. |
The documentation for this struct was generated from the following files:
|
|