VectorKeyframe

struct VectorKeyframe

Public Functions

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

Public Members

uint32_t time_in_ticks
Vector value