SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
Sleak::AnimationChannel Struct Reference

#include <AnimationClip.hpp>

Public Attributes

int boneId = -1
std::string boneName
std::vector< Keyframe< Math::Vector3D > > positionKeys
std::vector< Keyframe< Math::Quaternion > > rotationKeys
std::vector< Keyframe< Math::Vector3D > > scaleKeys

Detailed Description

Position/rotation/scale keyframe tracks for one bone or scene node.

Definition at line 23 of file AnimationClip.hpp.

Member Data Documentation

◆ boneId

int Sleak::AnimationChannel::boneId = -1

Definition at line 25 of file AnimationClip.hpp.

◆ boneName

std::string Sleak::AnimationChannel::boneName

Definition at line 24 of file AnimationClip.hpp.

◆ positionKeys

std::vector<Keyframe<Math::Vector3D> > Sleak::AnimationChannel::positionKeys

Definition at line 26 of file AnimationClip.hpp.

◆ rotationKeys

std::vector<Keyframe<Math::Quaternion> > Sleak::AnimationChannel::rotationKeys

Definition at line 27 of file AnimationClip.hpp.

◆ scaleKeys

std::vector<Keyframe<Math::Vector3D> > Sleak::AnimationChannel::scaleKeys

Definition at line 28 of file AnimationClip.hpp.