|
override bool | Equals (object obj) |
|
bool | Equals (Quaternion q) |
|
HPS.Quaternion | Exp () |
|
override int | GetHashCode () |
|
HPS.Quaternion | Lerp (HPS.Quaternion in_right, float in_fraction) |
|
HPS.Quaternion | Log () |
|
float | Norm () |
|
HPS.Quaternion | Normalize () |
|
| Quaternion (float in_w, float in_x, float in_y, float in_z) |
|
| Quaternion (HPS.Quaternion that) |
|
HPS.Quaternion | Slerp (HPS.Quaternion in_right, float in_fraction, bool in_shortest_path_only=true) |
|
HPS.Quaternion | Spline (HPS.Quaternion in_previous, HPS.Quaternion in_next) |
|
HPS.Quaternion | Squad (HPS.Quaternion in_right, HPS.Quaternion in_control1, HPS.Quaternion in_control2, float in_fraction) |
|
|
static Quaternion | ComputeRotation (float in_degrees, HPS.Vector in_axis) |
|
static Quaternion | ComputeRotation (float in_x, float in_y, float in_z) |
|
static bool | operator!= (Quaternion a, Quaternion b) |
|
static Quaternion | operator* (Quaternion q1, Quaternion q2) |
|
static Quaternion | operator* (Quaternion q, float s) |
|
static Quaternion | operator* (float s, Quaternion q) |
|
static Quaternion | operator+ (Quaternion q1, Quaternion q2) |
|
static Quaternion | operator- (Quaternion q1, Quaternion q2) |
|
static Quaternion | operator/ (Quaternion q, float s) |
|
static bool | operator== (Quaternion a, Quaternion b) |
|
|
float | w |
|
float | x |
|
float | y |
|
float | z |
|
◆ ComputeRotation() [1/2]
Computes a quaternion from a rotation about an axis.
- Parameters
-
in_degrees | The angle in degrees to rotate. |
in_axis | The axis to rotate about. |
- Returns
- The resulting Quaternion object.
◆ ComputeRotation() [2/2]
static Quaternion HPS.Quaternion.ComputeRotation |
( |
float |
in_x, |
|
|
float |
in_y, |
|
|
float |
in_z |
|
) |
| |
|
inlinestatic |
Computes a quaternion from a rotation around the primary axes.
- Parameters
-
in_x | The number of degrees to rotate around the x-axis. |
in_y | The number of degrees to rotate around the y-axis. |
in_z | The number of degrees to rotate around the z-axis. |
- Returns
- The resulting Quaternion object.
The documentation for this struct was generated from the following file:
- internals/hps_core/source/cs/HPS.Quaternion.cs