PointKeyframe

struct HPS::PointKeyframe

Public Functions

bool operator!=(PointKeyframe const &in_that) const

Check if the source PointKeyframe is different from this PointKeyframe.

Parameters

in_that – The source PointKeyframe to compare to this PointKeyframe.

Returns

true if the objects are different, false otherwise.

bool operator==(PointKeyframe const &in_that) const

Check if the source PointKeyframe is equal to this PointKeyframe.

Parameters

in_that – The source PointKeyframe to compare to this PointKeyframe.

Returns

true if the objects are equal, false otherwise.

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_ticks – The time, specified in ticks, when this keyframe should be executed.

  • in_value – The value of this keyframe at the specified time.

Public Members

uint32_t time_in_ticks
Point value