Method | Description | |
---|---|---|
ApproxEquals ( |
||
Conjugate ( ) : void |
Sets this quaternion to the conjugate (spatial inverse) of itself
|
|
Dot ( |
||
FromAxisAngle ( |
Set this quaternion from a normalized axis and an angle of rotation around that axis
|
|
FromEulers ( float roll, float pitch, float yaw ) : void |
Set this quaternion from roll, pitch, and yaw euler angles in radians
|
|
FromRotationMatrix ( |
||
GetAxisAngle ( |
Convert this quaternion to an angle around an axis
|
|
GetEulerAngles ( float &roll, float &pitch, float &yaw ) : void |
Convert this quaternion to euler angles
|
|
GetHashCode ( ) : int | ||
Invert ( ) : Vector4f |
Conjugates and renormalizes the quaternion
|
|
IsFinite ( ) : bool | ||
Length ( ) : float | ||
LengthSquared ( ) : float | ||
Negate ( ) : Vector4f | ||
Normalize ( ) : void | ||
Quaternionf ( |
||
Quaternionf ( |
||
Quaternionf ( Vector4f vector ) : System | ||
Quaternionf ( float x, float y, float z, float w ) : System | ||
Quaternionf ( |
||
Slerp ( |
Spherical linear interpolation between this quaternion and another
|
|
ToString ( ) : string | ||
operator ( ) : bool |
public ApproxEquals ( |
||
quaternion | ||
tolerance | float | |
return | bool |
public Dot ( |
||
quaternion | ||
return | float |
public FromAxisAngle ( |
||
axis | Axis of rotation | |
angle | float | Angle of rotation |
return | void |
public FromEulers ( float roll, float pitch, float yaw ) : void | ||
roll | float | X angle in radians |
pitch | float | Y angle in radians |
yaw | float | Z angle in radians |
return | void |
public FromRotationMatrix ( |
||
m | ||
return | void |
public GetAxisAngle ( |
||
axis | Unit vector describing the axis | |
angle | float | Angle around the axis, in radians |
return | void |
public GetEulerAngles ( float &roll, float &pitch, float &yaw ) : void | ||
roll | float | X euler angle |
pitch | float | Y euler angle |
yaw | float | Z euler angle |
return | void |
public Quaternionf ( |
||
quaternion | ||
return | System |
public Quaternionf ( |
||
vector | ||
scalar | float | |
return | System |
public Quaternionf ( Vector4f vector ) : System | ||
vector | Vector4f | |
return | System |
public Quaternionf ( float x, float y, float z, float w ) : System | ||
x | float | |
y | float | |
z | float | |
w | float | |
return | System |
public Slerp ( |
||
quaternion | ||
amount | float | |
return |