Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Loading...
Searching...
No Matches
AnimationChannel Struct Reference

Tracks keyframe sequences (translation, rotation, scale) affecting a specific joint node. More...

#include <Animator.hpp>

Public Attributes

int jointIndex = -1
 Target joint index in the SkeletonComponent.
std::string jointName
 Target joint name identifier.
std::vector< Keyframe > translationKeys
 List of translation keyframes.
std::vector< KeyframeRot > rotationKeys
 List of rotation keyframes.
std::vector< Keyframe > scaleKeys
 List of scale keyframes.

Detailed Description

Tracks keyframe sequences (translation, rotation, scale) affecting a specific joint node.

Member Data Documentation

◆ jointIndex

int AnimationChannel::jointIndex = -1

Target joint index in the SkeletonComponent.

◆ jointName

std::string AnimationChannel::jointName

Target joint name identifier.

◆ rotationKeys

std::vector<KeyframeRot> AnimationChannel::rotationKeys

List of rotation keyframes.

◆ scaleKeys

std::vector<Keyframe> AnimationChannel::scaleKeys

List of scale keyframes.

◆ translationKeys

std::vector<Keyframe> AnimationChannel::translationKeys

List of translation keyframes.


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