FloatKeyframe

struct HPS.FloatKeyframe

Public Functions

bool Equals (FloatKeyframe k)

Compares a FloatKeyframe object to this FloatKeyframe.

Param p:

The object to compare to this object.

Return:

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

override bool Equals (object obj)

Compares this FloatKeyframe object to another object.

Param obj:

The object to compare to this object.

Return:

Returns true if the parameter is equivalent, false otherwise.

FloatKeyframe (UInt32 in_ticks, float in_value)

Creates a new FloatKeyframe, suitable for using with a FloatSampler 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.

override int GetHashCode ()

Public Members

UInt32 time_in_ticks
float value

Public Static Functions

bool operator!= (FloatKeyframe in_left, FloatKeyframe in_right)

Check if the source FloatKeyframe is different from this FloatKeyframe.

Param in_that:

The source FloatKeyframe to compare to this FloatKeyframe.

Return:

true if the objects are different, false otherwise.

bool operator== (FloatKeyframe in_left, FloatKeyframe in_right)

Check if the source FloatKeyframe is equal to this FloatKeyframe.

Param in_that:

The source FloatKeyframe to compare to this FloatKeyframe.

Return:

true if the objects are equal, false otherwise.