clan::ModelDataAnimationData< Type > Class Template Reference

Stores different values for different animation timelines. More...

#include <model_data_animation_data.h>

Public Member Functions

Type get_single_value () const
 
Type get_value (int animation_index, float timestamp) const
 
bool has_multiple_values () const
 
void set_single_value (Type value)
 

Public Attributes

std::vector< ModelDataAnimationTimeline< Type > > timelines
 

Detailed Description

template<typename Type>
class clan::ModelDataAnimationData< Type >

Stores different values for different animation timelines.

Animatable properties are stored in timelines. There is one timeline per animation supported by the model.

For properties that are not to be animated, a single timeline is used with a single value stored in it.

Member Function Documentation

◆ get_single_value()

template<typename Type>
Type clan::ModelDataAnimationData< Type >::get_single_value ( ) const
inline

◆ get_value()

template<typename Type>
Type clan::ModelDataAnimationData< Type >::get_value ( int  animation_index,
float  timestamp 
) const
inline

◆ has_multiple_values()

template<typename Type>
bool clan::ModelDataAnimationData< Type >::has_multiple_values ( ) const
inline

◆ set_single_value()

template<typename Type>
void clan::ModelDataAnimationData< Type >::set_single_value ( Type  value)
inline

Member Data Documentation

◆ timelines

template<typename Type>
std::vector<ModelDataAnimationTimeline<Type> > clan::ModelDataAnimationData< Type >::timelines

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