Property | Type | Description | |
---|---|---|---|
W | float | ||
X | float | ||
Y | float | ||
Z | float |
Method | Description | |
---|---|---|
Add ( |
Quaternions are added.
|
|
Add ( |
Quaternions are added.
|
|
Conjugate ( |
||
CreateFromMatrix ( Jitter.LinearMath.JMatrix matrix ) : |
Creates a quaternion from a matrix.
|
|
CreateFromMatrix ( Jitter.LinearMath.JMatrix &matrix, |
Creates a quaternion from a matrix.
|
|
CreateFromYawPitchRoll ( float yaw, float pitch, float roll, |
||
JQuaternion ( float x, float y, float z, float w ) : System |
Initializes a new instance of the JQuaternion structure.
|
|
Multiply ( |
Multiply two quaternions.
|
|
Multiply ( |
Scale a quaternion
|
|
Multiply ( |
Multiply two quaternions.
|
|
Multiply ( |
Scale a quaternion
|
|
Normalize ( ) : void |
Sets the length of the quaternion to one.
|
|
Subtract ( |
Quaternions are subtracted.
|
|
Subtract ( |
Quaternions are subtracted.
|
|
operator ( ) : |
Multiply two quaternions.
|
|
operator ( ) : Jitter.LinearMath.JVector |
Method | Description | |
---|---|---|
JQuaternion ( ) : System |
public static Add ( |
||
quaternion1 | The first quaternion. | |
quaternion2 | The second quaternion. | |
return |
public static Add ( |
||
quaternion1 | The first quaternion. | |
quaternion2 | The second quaternion. | |
result | The sum of both quaternions. | |
return | void |
public static Conjugate ( |
||
value | ||
return |
public static CreateFromMatrix ( Jitter.LinearMath.JMatrix matrix ) : |
||
matrix | Jitter.LinearMath.JMatrix | A matrix representing an orientation. |
return |
public static CreateFromMatrix ( Jitter.LinearMath.JMatrix &matrix, |
||
matrix | Jitter.LinearMath.JMatrix | A matrix representing an orientation. |
result | JQuaternion representing an orientation. | |
return | void |
public static CreateFromYawPitchRoll ( float yaw, float pitch, float roll, |
||
yaw | float | |
pitch | float | |
roll | float | |
result | ||
return | void |
public JQuaternion ( float x, float y, float z, float w ) : System | ||
x | float | The X component of the quaternion. |
y | float | The Y component of the quaternion. |
z | float | The Z component of the quaternion. |
w | float | The W component of the quaternion. |
return | System |
public static Multiply ( |
||
quaternion1 | The first quaternion. | |
quaternion2 | The second quaternion. | |
return |
public static Multiply ( |
||
quaternion1 | The quaternion to scale. | |
scaleFactor | float | Scale factor. |
return |
public static Multiply ( |
||
quaternion1 | The first quaternion. | |
quaternion2 | The second quaternion. | |
result | The product of both quaternions. | |
return | void |
public static Multiply ( |
||
quaternion1 | The quaternion to scale. | |
scaleFactor | float | Scale factor. |
result | The scaled quaternion. | |
return | void |
public static Subtract ( |
||
quaternion1 | The first quaternion. | |
quaternion2 | The second quaternion. | |
return |
public static Subtract ( |
||
quaternion1 | The first quaternion. | |
quaternion2 | The second quaternion. | |
result | The difference of both quaternions. | |
return | void |
public static operator ( ) : Jitter.LinearMath.JVector | ||
return | Jitter.LinearMath.JVector |