QuaternionKeyframe

struct HPS.QuaternionKeyframe

Public Functions

override bool Equals (object obj)

Compares this QuaternionKeyframe 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 (QuaternionKeyframe k)

Compares a QuaternionKeyframe object to this QuaternionKeyframe.

Param p

The object to compare to this object.

Return

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

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

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
Quaternion value

Public Static Functions

bool operator!= (QuaternionKeyframe in_left, QuaternionKeyframe in_right)

Check if the source QuaternionKeyframe is different from this QuaternionKeyframe.

Param in_that

The source QuaternionKeyframe to compare to this QuaternionKeyframe.

Return

true if the objects are different, false otherwise.

bool operator== (QuaternionKeyframe in_left, QuaternionKeyframe in_right)

Check if the source QuaternionKeyframe is equal to this QuaternionKeyframe.

Param in_that

The source QuaternionKeyframe to compare to this QuaternionKeyframe.

Return

true if the objects are equal, false otherwise.