HPS::QuaternionKeyframe Struct Reference
Public Member Functions | |
bool | operator!= (QuaternionKeyframe const &in_that) const |
bool | operator== (QuaternionKeyframe const &in_that) const |
QuaternionKeyframe (uint32_t in_ticks, Quaternion const &in_value) | |
Public Attributes | |
uint32_t | time_in_ticks |
Quaternion | value |
Constructor & Destructor Documentation
◆ QuaternionKeyframe()
HPS::QuaternionKeyframe::QuaternionKeyframe | ( | uint32_t | in_ticks, |
Quaternion const & | in_value | ||
) |
Creates a new QuaternionKeyframe, suitable for using with a QuaternionSampler object. The correspondence between real time and ticks can be controlled through AnimationControl::SetTimePerTick
- Parameters
-
in_ticks The time, specified in ticks, when this keyframe should be executed. in_value The value of this keyframe at the specified time.
Member Function Documentation
◆ operator!=()
bool HPS::QuaternionKeyframe::operator!= | ( | QuaternionKeyframe const & | in_that | ) | const |
Check if the source QuaternionKeyframe is different from this QuaternionKeyframe.
- Parameters
-
in_that The source QuaternionKeyframe to compare to this QuaternionKeyframe.
- Returns
- true if the objects are different, false otherwise.
◆ operator==()
bool HPS::QuaternionKeyframe::operator== | ( | QuaternionKeyframe const & | in_that | ) | const |
Check if the source QuaternionKeyframe is equal to this QuaternionKeyframe.
- Parameters
-
in_that The source QuaternionKeyframe to compare to this QuaternionKeyframe.
- Returns
- true if the objects are equal, false otherwise.
The documentation for this struct was generated from the following file:
- include/sprk.h