ProtoTracer  1.0
Real-time 3D rendering and animation engine
Loading...
Searching...
No Matches
KeyFrame.cpp
Go to the documentation of this file.
1#include "KeyFrame.h"
2
4
5KeyFrame::KeyFrame(float time, float value) {
6 this->Time = time;
7 this->Value = value;
8}
9
10void KeyFrame::Set(float time, float value) {
11 this->Time = time;
12 this->Value = value;
13}
Declares the KeyFrame class for representing individual animation keyframes.
void Set(float time, float value)
Sets the time and value of the keyframe.
Definition KeyFrame.cpp:10
float Value
The value of the keyframe.
Definition KeyFrame.h:24
float Time
The time of the keyframe.
Definition KeyFrame.h:23
KeyFrame()
Default constructor.
Definition KeyFrame.cpp:3