Cafu Engine
ImporterMd5AnimT Class Reference

This class imports animations from Doom3 .md5anim files for addition to an existing CafuModelT. More...

#include "Loader_md5.hpp"

Inheritance diagram for ImporterMd5AnimT:

Public Member Functions

 ImporterMd5AnimT (const std::string &FileName)
 
ArrayT< CafuModelT::AnimTImport (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
 

Detailed Description

This class imports animations from Doom3 .md5anim files for addition to an existing CafuModelT.

Member Function Documentation

ArrayT< CafuModelT::AnimT > ImporterMd5AnimT::Import ( const ArrayT< CafuModelT::JointT > &  Joints,
const ArrayT< CafuModelT::MeshT > &  Meshes 
)
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.


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