This class imports animations from Doom3 .md5anim files for addition to an existing CafuModelT. More...
#include "Loader_md5.hpp"
Public Member Functions | |
ImporterMd5AnimT (const std::string &FileName) | |
ArrayT< CafuModelT::AnimT > | Import (const ArrayT< CafuModelT::JointT > &Joints, const ArrayT< CafuModelT::MeshT > &Meshes) |
Imports and returns the animation sequences from the file, optionally referring to the joints and meshes of the related model. More... | |
Public Member Functions inherited from AnimImporterT | |
AnimImporterT (const std::string &FileName) | |
The constructor. More... | |
virtual const std::string & | GetFileName () const |
Returns the name of the file the animations are imported from. More... | |
Additional Inherited Members | |
Protected Attributes inherited from AnimImporterT | |
const std::string | m_FileName |
This class imports animations from Doom3 .md5anim files for addition to an existing CafuModelT.
|
virtual |
Imports and returns the animation sequences from the file, optionally referring to the joints and meshes of the related model.
It is up to the caller to actually add the imported sequences to the related model instance.
Implements AnimImporterT.