#include <animadead.h>
Inheritance diagram for jb::Model:
Public Methods | |
Model (ModelType type, UserFunction *texture_loader=0) | |
virtual | ~Model () |
unsigned int | AddMesh (std::string filename) |
void | SwapMesh (unsigned int index, std::string filename) |
unsigned int | AddAnim (std::string filename, unsigned int startFrame=0) |
void | SwapAnim (unsigned int index, std::string filename, unsigned int startFrame=0) |
void | GetTransform (unsigned int bone, Matrix &matrix) |
void | Bind (unsigned int bone, unsigned int anim) |
void | MovingOrigin (bool) |
void | OriginAnim (unsigned int index) |
void | GetKeyframeVelocity (Vertex *velocity) |
void | GetVelocity (Vertex *velocity) |
void | Update (float timestep) |
void | UpdateMeshes () |
void | Reset () |
bool | getAnimFinished () |
Protected Attributes | |
bool | originSubtraction |
float | timeweight |
AnimPlayer * | velocityControl |
AnimPlayer * | _currentAnim |
std::vector< Mesh * > | bindMesh |
std::vector< Mesh * > * | previousMesh |
std::vector< Mesh * > * | nextMesh |
std::vector< AnimPlayer * > | anims |
std::vector< unsigned int > | animFromBone |
UserFunction * | fp |
ModelType | type |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|