|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
Evaluates animation keyframes at a given time. More...
#include <AnimationEvaluator.h>
Classes | |
| struct | JointPose |
Static Public Member Functions | |
| static void | evaluate (const Assets::Animation &animation, float time, std::vector< JointPose > &outPoses) |
| Evaluate all channels at given time, output one JointPose per joint. | |
Evaluates animation keyframes at a given time.
Produces local-space TRS (translation, rotation, scale) for each joint by sampling all channels of an animation at the specified time.
Definition at line 17 of file AnimationEvaluator.h.
|
static |
Evaluate all channels at given time, output one JointPose per joint.
| animation | The animation clip to evaluate |
| time | Playback time in seconds |
| outPoses | Output vector (must be pre-sized to joint count) |