Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::animation_state Struct Reference

#include <animation_player.h>

Public Member Functions

auto get_progress () const -> float
 
void set_progress (float progress)
 

Public Attributes

asset_handle< animation_clipclip {}
 
animation_clip::seconds_t elapsed {}
 
bool loop {false}
 
std::shared_ptr< blend_space_defblend_space {}
 
std::vector< std::pair< asset_handle< animation_clip >, float > > blend_clips {}
 
std::vector< animation_poseblend_poses {}
 

Detailed Description

Definition at line 14 of file animation_player.h.

Member Function Documentation

◆ get_progress()

auto unravel::animation_state::get_progress ( ) const -> float
inline

Definition at line 16 of file animation_player.h.

◆ set_progress()

void unravel::animation_state::set_progress ( float progress)
inline

Definition at line 26 of file animation_player.h.

Member Data Documentation

◆ blend_clips

std::vector<std::pair<asset_handle<animation_clip>, float> > unravel::animation_state::blend_clips {}

Definition at line 42 of file animation_player.h.

◆ blend_poses

std::vector<animation_pose> unravel::animation_state::blend_poses {}

Definition at line 43 of file animation_player.h.

◆ blend_space

std::shared_ptr<blend_space_def> unravel::animation_state::blend_space {}

Definition at line 41 of file animation_player.h.

◆ clip

asset_handle<animation_clip> unravel::animation_state::clip {}

Definition at line 37 of file animation_player.h.

◆ elapsed

animation_clip::seconds_t unravel::animation_state::elapsed {}

Definition at line 38 of file animation_player.h.

◆ loop

bool unravel::animation_state::loop {false}

Definition at line 39 of file animation_player.h.


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