5#include <glm/gtc/quaternion.hpp>
59 [[nodiscard]]
const std::string &
getName()
const
64 [[nodiscard]]
const std::vector<Engine::Animation::AnimationChannel> &
getChannels()
const
82 uint32_t channelIndex,
84 glm::vec3 & outTranslation,
85 glm::quat & outRotation,
93 std::vector<Engine::Animation::AnimationChannel>
channels_;
float getDuration() const
const std::string & getName() const
void sample(uint32_t channelIndex, float time, glm::vec3 &outTranslation, glm::quat &outRotation, glm::vec3 &outScale) const
Sample a specific channel at the given time.
std::vector< Engine::Animation::AnimationChannel > channels_
const std::vector< Engine::Animation::AnimationChannel > & getChannels() const
InterpolationType
Interpolation method for animation keyframes.
A single animation channel targeting one joint's transform property.
InterpolationType interpolation
enum Engine::Animation::AnimationChannel::Path path
std::vector< float > timestamps
std::vector< glm::vec4 > values
vec3 for T/S (w unused), quat for R (xyzw)