HPS::VectorKeyframe Struct Reference
Public Member Functions | |
bool | operator!= (VectorKeyframe const &in_that) const |
bool | operator== (VectorKeyframe const &in_that) const |
VectorKeyframe (uint32_t in_ticks, Vector const &in_value) | |
Public Attributes | |
uint32_t | time_in_ticks |
Vector | value |
Constructor & Destructor Documentation
◆ VectorKeyframe()
HPS::VectorKeyframe::VectorKeyframe | ( | uint32_t | in_ticks, |
Vector const & | in_value | ||
) |
Creates a new VectorKeyframe, suitable for using with a VectorSampler 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::VectorKeyframe::operator!= | ( | VectorKeyframe const & | in_that | ) | const |
Check if the source VectorKeyframe is different from this VectorKeyframe.
- Parameters
-
in_that The source VectorKeyframe to compare to this VectorKeyframe.
- Returns
- true if the objects are different, false otherwise.
◆ operator==()
bool HPS::VectorKeyframe::operator== | ( | VectorKeyframe const & | in_that | ) | const |
Check if the source VectorKeyframe is equal to this VectorKeyframe.
- Parameters
-
in_that The source VectorKeyframe to compare to this VectorKeyframe.
- Returns
- true if the objects are equal, false otherwise.
The documentation for this struct was generated from the following file:
- include/sprk.h