HPS::PointKeyframe Struct Reference

Public Member Functions

bool operator!= (PointKeyframe const &in_that) const
 
bool operator== (PointKeyframe const &in_that) const
 
 PointKeyframe (uint32_t in_ticks, Point const &in_value)
 

Public Attributes

uint32_t time_in_ticks
 
Point value
 

Constructor & Destructor Documentation

◆ PointKeyframe()

HPS::PointKeyframe::PointKeyframe ( uint32_t  in_ticks,
Point const &  in_value 
)

Creates a new PointKeyframe, suitable for using with a PointSampler object. The correspondence between real time and ticks can be controlled through AnimationControl::SetTimePerTick

Parameters
in_ticksThe time, specified in ticks, when this keyframe should be executed.
in_valueThe value of this keyframe at the specified time.

Member Function Documentation

◆ operator!=()

bool HPS::PointKeyframe::operator!= ( PointKeyframe const &  in_that) const

Check if the source PointKeyframe is different from this PointKeyframe.

Parameters
in_thatThe source PointKeyframe to compare to this PointKeyframe.
Returns
true if the objects are different, false otherwise.

◆ operator==()

bool HPS::PointKeyframe::operator== ( PointKeyframe const &  in_that) const

Check if the source PointKeyframe is equal to this PointKeyframe.

Parameters
in_thatThe source PointKeyframe to compare to this PointKeyframe.
Returns
true if the objects are equal, false otherwise.

The documentation for this struct was generated from the following file: