Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::animation_clip Struct 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_channelchannels
 The node animation_clip channels. Each channel affects a single node.
 
root_motion_params root_motion
 

Detailed Description

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.

Member Typedef Documentation

◆ seconds_t

Member Data Documentation

◆ channels

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

seconds_t unravel::animation_clip::duration = seconds_t(0)

Duration of the animation_clip in seconds.

Definition at line 106 of file animation.h.

◆ name

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

root_motion_params unravel::animation_clip::root_motion

Definition at line 111 of file animation.h.


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