NumericKeyFrame Class Reference
A keyframe for a NumericAnimation. More...
#include <KeyFrame.hh>
Public Member Functions | |
NumericKeyFrame (const double _time) | |
Constructor. More... | |
virtual | ~NumericKeyFrame () |
Destructor. More... | |
const double & | Value () const |
Get the value of the keyframe. More... | |
void | Value (const double &_value) |
Set the value of the keyframe. More... | |
Public Member Functions inherited from KeyFrame | |
KeyFrame (const double _time) | |
Constructor. More... | |
virtual | ~KeyFrame () |
Destructor. More... | |
double | Time () const |
Get the time of the keyframe. More... | |
Protected Attributes | |
double | value |
numeric value More... | |
Protected Attributes inherited from KeyFrame | |
double | time |
time of key frame More... | |
Detailed Description
A keyframe for a NumericAnimation.
Constructor & Destructor Documentation
◆ NumericKeyFrame()
|
explicit |
Constructor.
- Parameters
-
[in] _time Time of the keyframe
◆ ~NumericKeyFrame()
|
virtual |
Destructor.
Member Function Documentation
◆ Value() [1/2]
const double& Value | ( | ) | const |
Get the value of the keyframe.
- Returns
- the value of the keyframe
◆ Value() [2/2]
void Value | ( | const double & | _value | ) |
Set the value of the keyframe.
- Parameters
-
[in] _value The new value
Member Data Documentation
◆ value
|
protected |
numeric value
The documentation for this class was generated from the following file: