M&B: Bannerlord 1.2.12
The horns sound, the ravens gather.
|
Public Member Functions | |
Quaternion (float x, float y, float z, float w) | |
override int | GetHashCode () |
override bool | Equals (object obj) |
float | Normalize () |
float | SafeNormalize () |
float | NormalizeWeighted () |
void | SetToRotationX (float angle) |
void | SetToRotationY (float angle) |
void | SetToRotationZ (float angle) |
void | Flip () |
Quaternion | TransformToParent (Quaternion q) |
Quaternion | TransformToLocal (Quaternion q) |
Quaternion | TransformToLocalWithoutNormalize (Quaternion q) |
float | Dotp4 (Quaternion q2) |
bool | InverseDirection (Quaternion q2) |
Static Public Member Functions | |
static bool | operator== (Quaternion a, Quaternion b) |
static bool | operator!= (Quaternion a, Quaternion b) |
static Quaternion | operator+ (Quaternion a, Quaternion b) |
static Quaternion | operator- (Quaternion a, Quaternion b) |
static Quaternion | operator* (Quaternion a, float b) |
static Quaternion | operator* (float s, Quaternion v) |
static Quaternion | Slerp (Quaternion from, Quaternion to, float t) |
static Quaternion | Lerp (Quaternion from, Quaternion to, float t) |
static Mat3 | Mat3FromQuaternion (Quaternion quat) |
static Quaternion | QuaternionFromEulerAngles (float yaw, float pitch, float roll) |
static Quaternion | QuaternionFromMat3 (Mat3 m) |
static void | AxisAngleFromQuaternion (out Vec3 axis, out float angle, Quaternion quat) |
static Quaternion | QuaternionFromAxisAngle (Vec3 axis, float angle) |
static Vec3 | EulerAngleFromQuaternion (Quaternion quat) |
static Quaternion | FindShortestArcAsQuaternion (Vec3 v0, Vec3 v1) |
Public Attributes | |
float | W |
float | X |
float | Y |
float | Z |
Properties | |
float | this[int i] [get, set] |
bool | IsIdentity [get] |
bool | IsUnit [get] |
static Quaternion | Identity [get] |
Mat3 | ToMat3 [get] |
TaleWorlds.Library.Quaternion.Quaternion | ( | float | x, |
float | y, | ||
float | z, | ||
float | w ) |
override int TaleWorlds.Library.Quaternion.GetHashCode | ( | ) |
override bool TaleWorlds.Library.Quaternion.Equals | ( | object | obj | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
float TaleWorlds.Library.Quaternion.Normalize | ( | ) |
float TaleWorlds.Library.Quaternion.SafeNormalize | ( | ) |
float TaleWorlds.Library.Quaternion.NormalizeWeighted | ( | ) |
void TaleWorlds.Library.Quaternion.SetToRotationX | ( | float | angle | ) |
void TaleWorlds.Library.Quaternion.SetToRotationY | ( | float | angle | ) |
void TaleWorlds.Library.Quaternion.SetToRotationZ | ( | float | angle | ) |
void TaleWorlds.Library.Quaternion.Flip | ( | ) |
Quaternion TaleWorlds.Library.Quaternion.TransformToParent | ( | Quaternion | q | ) |
Quaternion TaleWorlds.Library.Quaternion.TransformToLocal | ( | Quaternion | q | ) |
Quaternion TaleWorlds.Library.Quaternion.TransformToLocalWithoutNormalize | ( | Quaternion | q | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
float TaleWorlds.Library.Quaternion.Dotp4 | ( | Quaternion | q2 | ) |
bool TaleWorlds.Library.Quaternion.InverseDirection | ( | Quaternion | q2 | ) |
float TaleWorlds.Library.Quaternion.W |
float TaleWorlds.Library.Quaternion.X |
float TaleWorlds.Library.Quaternion.Y |
float TaleWorlds.Library.Quaternion.Z |
|
getset |
|
get |
|
get |
|
staticget |
|
get |