Monad Engine da02fba2
> Undercity Codex_
Loading...
Searching...
No Matches
mnd::AnimationClip Struct Reference

A named, playable animation containing one or more transform tracks. More...

#include <AnimationComponent.h>

+ Collaboration diagram for mnd::AnimationClip:

Public Attributes

std::string name
 Clip identifier (matches GLTF animation name).
 
float duration = 0.0f
 Total clip length in seconds.
 
bool looping = true
 Whether playback wraps at the end.
 
std::vector< TransformTracktracks
 Per-node animation channels.
 

Detailed Description

A named, playable animation containing one or more transform tracks.

Definition at line 73 of file AnimationComponent.h.

Member Data Documentation

◆ duration

float mnd::AnimationClip::duration = 0.0f

Total clip length in seconds.

Definition at line 76 of file AnimationComponent.h.

Referenced by mnd::AnimationComponent::Update().

◆ looping

bool mnd::AnimationClip::looping = true

Whether playback wraps at the end.

Definition at line 77 of file AnimationComponent.h.

◆ name

std::string mnd::AnimationClip::name

Clip identifier (matches GLTF animation name).

Definition at line 75 of file AnimationComponent.h.

◆ tracks

std::vector<TransformTrack> mnd::AnimationClip::tracks

Per-node animation channels.

Definition at line 78 of file AnimationComponent.h.

Referenced by mnd::AnimationComponent::Update().


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