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

#include <AnimationStateMachine.hpp>

Public Attributes

AnimationClipclip = nullptr
bool loop = true
std::string name
float speed = 1.0f

Detailed Description

One named clip binding within the graph, with its own loop/speed settings.

Definition at line 26 of file AnimationStateMachine.hpp.

Member Data Documentation

◆ clip

AnimationClip* Sleak::AnimationState::clip = nullptr

Definition at line 28 of file AnimationStateMachine.hpp.

◆ loop

bool Sleak::AnimationState::loop = true

Definition at line 29 of file AnimationStateMachine.hpp.

◆ name

std::string Sleak::AnimationState::name

Definition at line 27 of file AnimationStateMachine.hpp.

◆ speed

float Sleak::AnimationState::speed = 1.0f

Definition at line 30 of file AnimationStateMachine.hpp.