|
void | Init (gef::SkeletonPose const &bind_pose) |
| Initialise the clip player with the bind pose. More...
|
|
bool | Update (float delta_time, gef::SkeletonPose const &bind_pose) |
| Update the pose by sampling current animation clip. More...
|
|
float const | anim_time () const |
|
void | set_anim_time (float const anim_time) |
|
float const | playback_speed () const |
|
void | set_playback_speed (float const playback_speed) |
|
bool const | looping () const |
|
void | set_looping (bool const looping) |
|
gef::Animation const * | clip () const |
|
void | set_clip (gef::Animation const *clip) |
|
gef::SkeletonPose const & | pose () const |
|
◆ Init()
void ClassRoom::MotionClipPlayer::Init |
( |
gef::SkeletonPose const & |
bind_pose | ) |
|
Initialise the clip player with the bind pose.
- Parameters
-
[in] | bind_pose | The bind pose for the skeleton being animated. |
◆ Update()
bool ClassRoom::MotionClipPlayer::Update |
( |
float |
delta_time, |
|
|
gef::SkeletonPose const & |
bind_pose |
|
) |
| |
Update the pose by sampling current animation clip.
- Parameters
-
[in] | delta_time | The amount of time to update the playback time by. |
[in] | bind_pose | The bind pose for the skeleton being animated. |
The documentation for this class was generated from the following files:
- C:/Users/Jay Bretherton/Documents/GitHub/418/Projects/animated_mesh/build/vs2017/GefExtensions/motion_clip_player.h
- C:/Users/Jay Bretherton/Documents/GitHub/418/Projects/animated_mesh/build/vs2017/GefExtensions/motion_clip_player.cpp