Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Ecs::AnimationState Struct Reference

Animation playback state for an entity with a skeletal mesh. More...

#include <EcsData.h>

Public Attributes

Engine::Assets::AnimationClipHandle currentAnimation = Engine::Assets::Null
 Animation clip currently evaluated.
float playbackTime = 0.0f
 Current playback position in seconds.
float playbackSpeed = 1.0f
 Playback speed multiplier.
bool isLooping = true
 Wrap playback time when the animation reaches its duration.
bool isPlaying = false
 Advance and evaluate the animation during the animation tick.

Detailed Description

Animation playback state for an entity with a skeletal mesh.

Definition at line 698 of file EcsData.h.

Member Data Documentation

◆ currentAnimation

Engine::Assets::AnimationClipHandle Engine::Ecs::AnimationState::currentAnimation = Engine::Assets::Null

Animation clip currently evaluated.

Definition at line 699 of file EcsData.h.

◆ isLooping

bool Engine::Ecs::AnimationState::isLooping = true

Wrap playback time when the animation reaches its duration.

Definition at line 702 of file EcsData.h.

◆ isPlaying

bool Engine::Ecs::AnimationState::isPlaying = false

Advance and evaluate the animation during the animation tick.

Definition at line 703 of file EcsData.h.

◆ playbackSpeed

float Engine::Ecs::AnimationState::playbackSpeed = 1.0f

Playback speed multiplier.

Definition at line 701 of file EcsData.h.

◆ playbackTime

float Engine::Ecs::AnimationState::playbackTime = 0.0f

Current playback position in seconds.

Definition at line 700 of file EcsData.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Ecs/EcsData.h