Public Member Functions

override bool Equals (object obj)
 
bool Equals (PointKeyframe k)
 
override int GetHashCode ()
 
 PointKeyframe (UInt32 in_ticks, Point in_value)
 

Static Public Member Functions

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

Public Attributes

UInt32 time_in_ticks
 
Point value
 

Constructor & Destructor Documentation

◆ PointKeyframe()

HPS.PointKeyframe.PointKeyframe ( UInt32  in_ticks,
Point  in_value 
)
inline

Creates a new PointKeyframe, suitable for using with a PointSampler 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.PointKeyframe.Equals ( object  obj)
inline

Compares this PointKeyframe 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.PointKeyframe.Equals ( PointKeyframe  k)
inline

Compares a PointKeyframe object to this PointKeyframe.

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

◆ operator!=()

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

Check if the source PointKeyframe is different from this PointKeyframe.

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

◆ operator==()

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

Check if the source PointKeyframe is equal to this PointKeyframe.

Parameters
in_thatThe source PointKeyframe to compare to this PointKeyframe.
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.PointKeyframe.cs