Public Member Functions

override bool Equals (object obj)
 
bool Equals (VectorKeyframe k)
 
override int GetHashCode ()
 
 VectorKeyframe (UInt32 in_ticks, Vector in_value)
 

Static Public Member Functions

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

Public Attributes

UInt32 time_in_ticks
 
Vector value
 

Constructor & Destructor Documentation

◆ VectorKeyframe()

HPS.VectorKeyframe.VectorKeyframe ( UInt32  in_ticks,
Vector  in_value 
)
inline

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

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

Compares a VectorKeyframe object to this VectorKeyframe.

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

◆ operator!=()

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

Check if the source VectorKeyframe is different from this VectorKeyframe.

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

◆ operator==()

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

Check if the source VectorKeyframe is equal to this VectorKeyframe.

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