vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::PlaybackStep Struct Reference

The sweep a playback head made this frame. More...

#include <pose_evaluator.h>

Public Attributes

float from = 0.0f
 Head before the advance.
float to = 0.0f
 Head after it, as the Animator now carries it.
float travel = 0.0f
 Signed seconds covered; 0 when nothing moved.

Detailed Description

The sweep a playback head made this frame.

to is the head the Animator now carries, already wrapped or clamped, so it is exactly the next frame's from. travel is signed and may exceed the clip's length (a hitch can step over whole loops); it tells standing still from going all the way round.


The documentation for this struct was generated from the following file: