The LeapQuaternion struct represents a rotation in three-dimensional space.
More...
|
float | x |
|
float | y |
|
float | z |
|
float | w |
|
The LeapQuaternion struct represents a rotation in three-dimensional space.
- Since
- 3.1.2
Definition at line 17 of file LeapQuaternion.cs.
◆ LeapQuaternion() [1/3]
Leap.LeapQuaternion.LeapQuaternion |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
w |
|
) |
| |
◆ LeapQuaternion() [2/3]
◆ LeapQuaternion() [3/3]
Copies the specified LEAP_QUATERNION.
- Since
- 3.1.2
Definition at line 48 of file LeapQuaternion.cs.
◆ Equals() [1/2]
◆ Equals() [2/2]
override bool Leap.LeapQuaternion.Equals |
( |
Object |
obj | ) |
|
◆ GetHashCode()
override int Leap.LeapQuaternion.GetHashCode |
( |
| ) |
|
◆ IsValid()
bool Leap.LeapQuaternion.IsValid |
( |
| ) |
|
Returns true if all of the quaternion's components are finite. If any component is NaN or infinite, then this returns false.
- Since
- 3.1.2
Definition at line 80 of file LeapQuaternion.cs.
◆ Multiply()
Concatenates the rotation described by this quaternion with the one provided and returns the result.
- Since
- 3.1.2
Definition at line 128 of file LeapQuaternion.cs.
◆ ToString()
override string Leap.LeapQuaternion.ToString |
( |
| ) |
|
Returns a string containing this quaternion in a human readable format: (x, y, z).
- Since
- 3.1.2
Definition at line 60 of file LeapQuaternion.cs.
◆ Identity
float Leap.LeapQuaternion.w |
float Leap.LeapQuaternion.x |
float Leap.LeapQuaternion.y |
float Leap.LeapQuaternion.z |
◆ Magnitude
float Leap.LeapQuaternion.Magnitude |
|
get |
The magnitude, or length, of this quaternion.
- Since
- 3.1.2
Definition at line 96 of file LeapQuaternion.cs.
◆ MagnitudeSquared
float Leap.LeapQuaternion.MagnitudeSquared |
|
get |
The square of the magnitude, or length, of this quaternion.
- Since
- 3.1.2
Definition at line 104 of file LeapQuaternion.cs.
◆ Normalized
The documentation for this struct was generated from the following file: