Open 3D Engine AtomTressFX Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Public Member Functions | |
Quaternion (float x=0.0, float y=0.0, float z=0.0, float w=1.0) | |
Quaternion (const Quaternion &other) | |
Quaternion (const Matrix3 &rotMat) | |
Quaternion (const Vector3 &axis, float angle_radian) | |
Quaternion (float *xyz) | |
Quaternion & | Normalize () |
void | SetRotation (const Vector3 &axis, float angle_radian) |
void | SetRotation (const Matrix3 &rotMat) |
void | SetRotation (const Quaternion &quaternion) |
void | GetRotation (Vector3 *pAxis, float *pAngle_radian) const |
void | GetRotation (Matrix3 *pMat33) const |
Matrix3 | GetMatrix33 () const |
float | Length () const |
void | SetIdentity () |
void | Inverse () |
Quaternion | InverseOther () const |
Quaternion & | operator= (const Quaternion &other) |
Quaternion & | operator= (float *xyz) |
Quaternion | operator+ (const Quaternion &other) const |
Quaternion | operator+ (const Vector3 &vec) const |
Quaternion | operator* (const Quaternion &other) const |
Vector3 | operator* (const Vector3 &vec) const |
Public Attributes | |
union { | |
struct { | |
float m [4] | |
} | |
struct { | |
float x | |
float y | |
float z | |
float w | |
} | |
}; | |
Friends | |
Vector3 | operator* (const Vector3 &vec, const Quaternion &q) |