RGBColorKeyframe

struct HPS.RGBColorKeyframe

Public Functions

override bool Equals (object obj)

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

Compares a RGBColorKeyframe object to this RGBColorKeyframe.

Param p:

The object to compare to this object.

Return:

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

override int GetHashCode ()
RGBColorKeyframe (UInt32 in_ticks, RGBColor in_value)

Creates a new RGBColorKeyframe, suitable for using with a RGBColorSampler object. The correspondence between real time and ticks can be controlled through AnimationControl::SetTimePerTick The RGB components of RGBColorKeyframes cannot have values outside the [0 - 1] range. Setting a keyframe with such a value on a sampler will result in an InvalidSpecificationException being thrown

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

Public Static Functions

bool operator!= (RGBColorKeyframe in_left, RGBColorKeyframe in_right)

Check if the source RGBColorKeyframe is different from this RGBColorKeyframe.

Param in_that:

The source RGBColorKeyframe to compare to this RGBColorKeyframe.

Return:

true if the objects are different, false otherwise.

bool operator== (RGBColorKeyframe in_left, RGBColorKeyframe in_right)

Check if the source RGBColorKeyframe is equal to this RGBColorKeyframe.

Param in_that:

The source RGBColorKeyframe to compare to this RGBColorKeyframe.

Return:

true if the objects are equal, false otherwise.