| Support Forum Library Source SourceForge Page G3D Web Page |
Animation pose based on AnimType and animation time. More...
Public Member Functions | |
| Pose () | |
Public Attributes | |
| AnimType | anim [NUM_ANIMATED_PARTS] |
| bool | castsShadows |
| Matrix3 | rotation [NUM_PARTS] |
| Applying a rotation rotates this part and everything attached to it relative to its parent. | |
| Skin::Ref | skin |
| If NULL, use the model's default skin. | |
| GameTime | time [NUM_ANIMATED_PARTS] |
Animation pose based on AnimType and animation time.
Each animation time ( legsTime and torsoTime ) is total time in the current animation which allows for looping based on the parameters in animation.cfg.
The skins must be the base name of each skin file found in the same directory as the model parts.
Textures for each skin are loaded on first use.
| G3D::MD3Model::Pose::Pose | ( | ) |
| AnimType G3D::MD3Model::Pose::anim[NUM_ANIMATED_PARTS] |
| bool G3D::MD3Model::Pose::castsShadows |
Applying a rotation rotates this part and everything attached to it relative to its parent.
Rotations are typically used to make the torso point towards a target or the head in the look direction.
| Skin::Ref G3D::MD3Model::Pose::skin |
If NULL, use the model's default skin.
| GameTime G3D::MD3Model::Pose::time[NUM_ANIMATED_PARTS] |
1.8.2