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

Represents a transition rule from one state to another under certain conditions. More...

#include <AnimationController.hpp>

Public Attributes

std::string fromState
std::string toState
std::vector< TransitionCondition > conditions
float crossfadeDuration = 0.2f

Detailed Description

Represents a transition rule from one state to another under certain conditions.

Member Data Documentation

◆ conditions

std::vector<TransitionCondition> AnimationTransition::conditions

◆ crossfadeDuration

float AnimationTransition::crossfadeDuration = 0.2f

◆ fromState

std::string AnimationTransition::fromState

◆ toState

std::string AnimationTransition::toState

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