Tweeny 4.1.0
A Tweening library for modern C++
Loading...
Searching...
No Matches
key_frame< ValueTypes > Struct Template Reference

Detailed Description

template<typename... ValueTypes>
struct tweeny::detail::key_frame< ValueTypes >

Represents a key frame in a tween.

The key_frame class encapsulates the attributes and behaviors of a single frame in an animation sequence, allowing for storage and manipulation of key values at specific points.

Warning
This structure is private and shouldn't be used directly

#include <key-frame.h>

Public Types

typedef value_container_t< ValueTypes... > values_t
 Represents a container to store values in key_frame.

Public Member Functions

 key_frame (ValueTypes... vs)
 Constructs a key_frame object initialized with provided values.
uint32_t highest_frame_count () const
 Retrieves the highest frame count from the tween_frame_counts array.

Public Attributes

uint32_t position
value_easing_functions_t easing_functions
 Represents a tuple of easing function objects for each value component in a key frame.
value_tween_frame_counts_t tween_frame_counts