16#include "../KeyFrameTrack.h"
28template<
size_t maxParameters,
size_t maxKeyFrames>
A template class for managing animation tracks with keyframes.
void AddParameter(float *parameter)
Adds a parameter to the animation track.
void Play()
Starts or resumes playback of the animation track.
AnimationTrack(float min, float max, KeyFrameInterpolation::InterpolationMethod interpMethod)
Parameterized constructor.
void Reset()
Resets the animation track to its initial state.
void RestartTime()
Restarts the animation track's time to the beginning.
AnimationTrack()
Default constructor.
float GetParameterValue()
Retrieves the current parameter value of the animation track.
void Pause()
Pauses playback of the animation track.
void PrintTime()
Prints the current time of the animation track.
float Update()
Updates the animation track and returns the current parameter value.
virtual void AddKeyFrames()=0
Pure virtual function to add keyframes to the track.
KeyFrameTrack< maxParameters, maxKeyFrames > track
Internal track object for keyframe management.
InterpolationMethod
Enumeration of interpolation methods.
A template class for managing animations with multiple parameters and keyframes.