A template class to create key objects for the Animation class.
More...
#include <murl_logic_animation.h>
template<class DataType>
class Murl::Logic::AnimationKey< DataType >
A template class to create key objects for the Animation class.
◆ ValueType
template<class DataType >
The template parameter value type.
◆ AnimationKey() [1/3]
template<class DataType >
The constructor including time and value.
- Parameters
-
time | The time for the key in seconds. |
value | The value for the key. |
◆ AnimationKey() [2/3]
template<class DataType >
The constructor including time, value and linear flag.
- Parameters
-
time | The time for the key in seconds. |
value | The value for the key. |
linear | true for linear interpolation, false for constant interpolation. |
◆ AnimationKey() [3/3]
template<class DataType >
The constructor including time, value and interpolation.
- Parameters
-
time | The time for the key in seconds. |
value | The value for the key. |
interpolation | The interpolation type. |
◆ IsEqual()
template<class DataType >
Compare the animation key to another one.
- Parameters
-
- Returns
- true if both keys are identical.
◆ operator==()
template<class DataType >
The "equal to" comparison operator, calls IsEqual().
- Parameters
-
rhs | The right hand side key to compare. |
- Returns
- true if both keys are identical.
◆ operator!=()
template<class DataType >
The "not equal to" comparison operator, calls IsEqual().
- Parameters
-
rhs | The right hand side key to compare. |
- Returns
- true if both keys are not identical.
◆ mTime
template<class DataType >
◆ mValue
template<class DataType >
◆ mInterpolation
template<class DataType >
The interpolation type of the key.
The documentation for this class was generated from the following file: