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
AnimationClip Struct Reference

Collection of channels representing a single skeletal animation state. More...

#include <Animator.hpp>

Public Attributes

std::string name
 Name of the clip (e.g. "Walk", "Run").
float duration = 0.0f
 Total duration of the animation in seconds.
std::vector< AnimationChannel > channels
 Bone channels mapping keyframe states.
std::vector< PropertyChannel > propertyChannels
 Reflected component field channels.

Detailed Description

Collection of channels representing a single skeletal animation state.

Member Data Documentation

◆ channels

std::vector<AnimationChannel> AnimationClip::channels

Bone channels mapping keyframe states.

◆ duration

float AnimationClip::duration = 0.0f

Total duration of the animation in seconds.

◆ name

std::string AnimationClip::name

Name of the clip (e.g. "Walk", "Run").

◆ propertyChannels

std::vector<PropertyChannel> AnimationClip::propertyChannels

Reflected component field channels.


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