25#ifndef TWEENY_DETAIL_KEY_FRAME_H
26#define TWEENY_DETAIL_KEY_FRAME_H
31#include "value-container.h"
37namespace tweeny::detail {
38 template<
typename... ValueTypes>
49 typedef value_container_t<ValueTypes...>
values_t;
50 typedef std::tuple<std::function<ValueTypes(
float, ValueTypes, ValueTypes)>...> value_easing_functions_t;
51 typedef std::array<uint32_t,
sizeof...(ValueTypes)> value_tween_frame_counts_t;
key_frame(ValueTypes... vs)
Constructs a key_frame object initialized with provided values.
Definition key-frame.h:65
value_easing_functions_t easing_functions
Definition key-frame.h:101
uint32_t highest_frame_count() const
Retrieves the highest frame count from the tween_frame_counts array.
Definition key-frame.h:125
value_container_t< ValueTypes... > values_t
Represents a container to store values in key_frame.
Definition key-frame.h:49
uint32_t position
Definition key-frame.h:75
value_tween_frame_counts_t tween_frame_counts
Definition key-frame.h:115