The Animation class.
More...
#include <animation.h>
The Animation class.
Save Animation Data
Engine::Animation::Animation |
( |
const std::string & |
animation_name | ) |
|
Engine::Animation::~Animation |
( |
| ) |
|
|
inline |
void Animation::addBone |
( |
Bone * |
bone | ) |
|
addBone
Add a Bone
- Parameters
-
void Animation::BindMatricen |
( |
IShader * |
shader | ) |
|
Bone * Animation::getBone |
( |
const std::string & |
bone_name | ) |
|
getBone
Return a Single Bone
- Parameters
-
- Returns
int Animation::getBoneIndexByName |
( |
const std::string & |
bone_name | ) |
|
getBoneIndexByName
Return Bone Index Number by Name
- Parameters
-
- Returns
Bones Animation::getBones |
( |
void |
| ) |
|
getBones
Return all Bones
- Returns
int Animation::getFrame |
( |
void |
| ) |
|
getFrame
Return currently Animation Frame Number
- Returns
int Animation::getFrames |
( |
void |
| ) |
|
getFrames
Return max. frames
- Returns
void Animation::Loop |
( |
void |
| ) |
|
void Animation::setBones |
( |
Bones |
bones | ) |
|
setBones
set Bones
- Parameters
-
void Animation::setFrame |
( |
uint |
frame | ) |
|
setFrame
Set currently Animation Frame Number
- Parameters
-
void Animation::setFrames |
( |
int |
frame_amount | ) |
|
setFrames
Set max. Frames
- Parameters
-
void Animation::setTransforms |
( |
TransformMap |
map | ) |
|
setTransforms
Add Transformations
- Parameters
-
The documentation for this class was generated from the following files: