Unravel Engine C++ Reference
|
Struct representing an animation. More...
#include <animation.h>
Public Types | |
using | seconds_t = animation_channel::seconds_t |
Public Attributes | |
std::string | name |
The name of the animation_clip. Usually empty if the modeling package supports only a single animation_clip channel. | |
seconds_t | duration = seconds_t(0) |
Duration of the animation_clip in seconds. | |
std::vector< animation_channel > | channels |
The node animation_clip channels. Each channel affects a single node. | |
root_motion_params | root_motion |
Struct representing an animation.
This struct contains data for an entire animation, including the name, duration, and node animation channels.
Definition at line 98 of file animation.h.
Definition at line 100 of file animation.h.
std::vector<animation_channel> unravel::animation_clip::channels |
The node animation_clip channels. Each channel affects a single node.
Definition at line 109 of file animation.h.
Duration of the animation_clip in seconds.
Definition at line 106 of file animation.h.
std::string unravel::animation_clip::name |
The name of the animation_clip. Usually empty if the modeling package supports only a single animation_clip channel.
Definition at line 103 of file animation.h.
root_motion_params unravel::animation_clip::root_motion |
Definition at line 111 of file animation.h.