Свойство | Type | Description | |
---|---|---|---|
W | float | ||
X | float | ||
Y | float | ||
Z | float |
Méthode | 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 |
Méthode | Description | |
---|---|---|
JQuaternion ( ) : System |
public static Add ( |
||
quaternion1 | The first quaternion. | |
quaternion2 | The second quaternion. | |
Résultat |
public static Add ( |
||
quaternion1 | The first quaternion. | |
quaternion2 | The second quaternion. | |
result | The sum of both quaternions. | |
Résultat | void |
public static Conjugate ( |
||
value | ||
Résultat |
public static CreateFromMatrix ( Jitter.LinearMath.JMatrix matrix ) : |
||
matrix | Jitter.LinearMath.JMatrix | A matrix representing an orientation. |
Résultat |
public static CreateFromMatrix ( Jitter.LinearMath.JMatrix &matrix, |
||
matrix | Jitter.LinearMath.JMatrix | A matrix representing an orientation. |
result | JQuaternion representing an orientation. | |
Résultat | void |
public static CreateFromYawPitchRoll ( float yaw, float pitch, float roll, |
||
yaw | float | |
pitch | float | |
roll | float | |
result | ||
Résultat | 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. |
Résultat | System |
public static Multiply ( |
||
quaternion1 | The first quaternion. | |
quaternion2 | The second quaternion. | |
Résultat |
public static Multiply ( |
||
quaternion1 | The quaternion to scale. | |
scaleFactor | float | Scale factor. |
Résultat |
public static Multiply ( |
||
quaternion1 | The first quaternion. | |
quaternion2 | The second quaternion. | |
result | The product of both quaternions. | |
Résultat | void |
public static Multiply ( |
||
quaternion1 | The quaternion to scale. | |
scaleFactor | float | Scale factor. |
result | The scaled quaternion. | |
Résultat | void |
public static Subtract ( |
||
quaternion1 | The first quaternion. | |
quaternion2 | The second quaternion. | |
Résultat |
public static Subtract ( |
||
quaternion1 | The first quaternion. | |
quaternion2 | The second quaternion. | |
result | The difference of both quaternions. | |
Résultat | void |
public static operator ( ) : Jitter.LinearMath.JVector | ||
Résultat | Jitter.LinearMath.JVector |