VectorKeyframe

struct HPS.VectorKeyframe

Public Functions

override bool Equals (object obj)

Compares this VectorKeyframe object to another object.

Param obj:

The object to compare to this object.

Return:

Returns true if the parameter is equivalent, false otherwise.

bool Equals (VectorKeyframe k)

Compares a VectorKeyframe object to this VectorKeyframe.

Param p:

The object to compare to this object.

Return:

Returns true if the parameter is equivalent to this VectorKeyframe object, false otherwise.

override int GetHashCode ()
VectorKeyframe (UInt32 in_ticks, Vector 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

Param in_ticks:

The time, specified in ticks, when this keyframe should be executed.

Param in_value:

The value of this keyframe at the specified time.

Public Members

UInt32 time_in_ticks
Vector value

Public Static Functions

bool operator!= (VectorKeyframe in_left, VectorKeyframe in_right)

Check if the source VectorKeyframe is different from this VectorKeyframe.

Param in_that:

The source VectorKeyframe to compare to this VectorKeyframe.

Return:

true if the objects are different, false otherwise.

bool operator== (VectorKeyframe in_left, VectorKeyframe in_right)

Check if the source VectorKeyframe is equal to this VectorKeyframe.

Param in_that:

The source VectorKeyframe to compare to this VectorKeyframe.

Return:

true if the objects are equal, false otherwise.