HPS.QuaternionKeyframe Struct Reference
Public Member Functions | |
override bool | Equals (object obj) |
bool | Equals (QuaternionKeyframe k) |
override int | GetHashCode () |
QuaternionKeyframe (UInt32 in_ticks, Quaternion in_value) | |
Static Public Member Functions | |
static bool | operator!= (QuaternionKeyframe in_left, QuaternionKeyframe in_right) |
static bool | operator== (QuaternionKeyframe in_left, QuaternionKeyframe in_right) |
Public Attributes | |
UInt32 | time_in_ticks |
Quaternion | value |
Constructor & Destructor Documentation
◆ QuaternionKeyframe()
|
inline |
Creates a new QuaternionKeyframe, suitable for using with a QuaternionSampler object. The correspondence between real time and ticks can be controlled through AnimationControl::SetTimePerTick
- Parameters
-
in_ticks The time, specified in ticks, when this keyframe should be executed. in_value The value of this keyframe at the specified time.
Member Function Documentation
◆ Equals() [1/2]
|
inline |
Compares this QuaternionKeyframe object to another object.
- Parameters
-
obj The object to compare to this object.
- Returns
- Returns true if the parameter is equivalent, false otherwise.
◆ Equals() [2/2]
|
inline |
Compares a QuaternionKeyframe object to this QuaternionKeyframe.
- Parameters
-
p The object to compare to this object.
- Returns
- Returns true if the parameter is equivalent to this QuaternionKeyframe object, false otherwise.
◆ operator!=()
|
inlinestatic |
Check if the source QuaternionKeyframe is different from this QuaternionKeyframe.
- Parameters
-
in_that The source QuaternionKeyframe to compare to this QuaternionKeyframe.
- Returns
- true if the objects are different, false otherwise.
◆ operator==()
|
inlinestatic |
Check if the source QuaternionKeyframe is equal to this QuaternionKeyframe.
- Parameters
-
in_that The source QuaternionKeyframe to compare to this QuaternionKeyframe.
- 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.QuaternionKeyframe.cs