|
| AZ_TYPE_INFO (Transform, "{5D9958E9-9F1E-4985-B532-FFFDE75FEDFD}") |
|
| Transform ()=default |
| Default constructor does not initialize the matrix.
|
|
| Transform (const Vector3 &translation, const Quaternion &rotation, float scale) |
| Construct a transform from components.
|
|
Vector3 | GetBasis (int index) const |
|
Vector3 | GetBasisX () const |
|
Vector3 | GetBasisY () const |
|
Vector3 | GetBasisZ () const |
|
void | GetBasisAndTranslation (Vector3 *basisX, Vector3 *basisY, Vector3 *basisZ, Vector3 *pos) const |
|
const Vector3 & | GetTranslation () const |
|
void | SetTranslation (float x, float y, float z) |
|
void | SetTranslation (const Vector3 &v) |
|
const Quaternion & | GetRotation () const |
|
void | SetRotation (const Quaternion &rotation) |
|
float | GetUniformScale () const |
|
void | SetUniformScale (const float scale) |
|
float | ExtractUniformScale () |
| Sets the transform's scale to a unit value and returns the previous scale value.
|
|
void | MultiplyByUniformScale (float scale) |
|
Transform | operator* (const Transform &rhs) const |
|
Transform & | operator*= (const Transform &rhs) |
|
Vector3 | TransformPoint (const Vector3 &rhs) const |
|
Vector4 | TransformPoint (const Vector4 &rhs) const |
|
Vector3 | TransformVector (const Vector3 &rhs) const |
| Applies rotation and scale, but not translation.
|
|
Transform | GetInverse () const |
|
void | Invert () |
|
bool | IsOrthogonal (float tolerance=Constants::Tolerance) const |
|
Transform | GetOrthogonalized () const |
|
void | Orthogonalize () |
|
bool | IsClose (const Transform &rhs, float tolerance=Constants::Tolerance) const |
|
bool | operator== (const Transform &rhs) const |
|
bool | operator!= (const Transform &rhs) const |
|
Vector3 | GetEulerDegrees () const |
|
Vector3 | GetEulerRadians () const |
|
void | SetFromEulerDegrees (const Vector3 &eulerDegrees) |
|
void | SetFromEulerRadians (const Vector3 &eulerRadians) |
|
bool | IsFinite () const |
|
The basic transformation class, represented using a quaternion rotation, float scale and vector translation. By design, cannot represent skew transformations.