QuaternionKeyframe

struct QuaternionKeyframe

Public Functions

bool 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.

bool 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.

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.

Public Members

uint32_t time_in_ticks
Quaternion value