Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::animation_channel::key< T > Struct Template Reference

Struct representing a keyframe for animation. More...

#include <animation.h>

Public Attributes

seconds_t time = seconds_t(0)
 The time of the keyframe.
 
value = {}
 The value of the keyframe.
 

Friends

auto operator== (const key &lhs, const key &rhs) -> bool=default
 

Detailed Description

template<typename T>
struct unravel::animation_channel::key< T >

Struct representing a keyframe for animation.

Template Parameters
TThe type of value stored in the keyframe.

Definition at line 28 of file animation.h.

Friends And Related Symbol Documentation

◆ operator==

template<typename T >
auto operator== ( const key< T > & lhs,
const key< T > & rhs ) -> bool=default
friend

Member Data Documentation

◆ time

template<typename T >
seconds_t unravel::animation_channel::key< T >::time = seconds_t(0)

The time of the keyframe.

Definition at line 33 of file animation.h.

◆ value

template<typename T >
T unravel::animation_channel::key< T >::value = {}

The value of the keyframe.

Definition at line 36 of file animation.h.


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