Public Member Functions

override bool Equals (object obj)
 
bool Equals (FloatKeyframe k)
 
 FloatKeyframe (UInt32 in_ticks, float in_value)
 
override int GetHashCode ()
 

Static Public Member Functions

static bool operator!= (FloatKeyframe in_left, FloatKeyframe in_right)
 
static bool operator== (FloatKeyframe in_left, FloatKeyframe in_right)
 

Public Attributes

UInt32 time_in_ticks
 
float value
 

Constructor & Destructor Documentation

◆ FloatKeyframe()

HPS.FloatKeyframe.FloatKeyframe ( UInt32  in_ticks,
float  in_value 
)
inline

Creates a new FloatKeyframe, suitable for using with a FloatSampler object. The correspondence between real time and ticks can be controlled through AnimationControl::SetTimePerTick

Parameters
in_ticksThe time, specified in ticks, when this keyframe should be executed.
in_valueThe value of this keyframe at the specified time.

Member Function Documentation

◆ Equals() [1/2]

override bool HPS.FloatKeyframe.Equals ( object  obj)
inline

Compares this FloatKeyframe object to another object.

Parameters
objThe object to compare to this object.
Returns
Returns true if the parameter is equivalent, false otherwise.

◆ Equals() [2/2]

bool HPS.FloatKeyframe.Equals ( FloatKeyframe  k)
inline

Compares a FloatKeyframe object to this FloatKeyframe.

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

◆ operator!=()

static bool HPS.FloatKeyframe.operator!= ( FloatKeyframe  in_left,
FloatKeyframe  in_right 
)
inlinestatic

Check if the source FloatKeyframe is different from this FloatKeyframe.

Parameters
in_thatThe source FloatKeyframe to compare to this FloatKeyframe.
Returns
true if the objects are different, false otherwise.

◆ operator==()

static bool HPS.FloatKeyframe.operator== ( FloatKeyframe  in_left,
FloatKeyframe  in_right 
)
inlinestatic

Check if the source FloatKeyframe is equal to this FloatKeyframe.

Parameters
in_thatThe source FloatKeyframe to compare to this FloatKeyframe.
Returns
true if the objects are equal, false otherwise.

The documentation for this struct was generated from the following file:
  • internals/hps_sprk/source/cs/HPS.FloatKeyframe.cs