Example
Matrix4 este o matrice de transformare 4x4 cu precizie simplă utilizată intern pentru compunerea transformărilor în spațiul mondial și spațiul local. Poate fi construită din descompuneri de translație, rotație și scară (TRS).
Vezi și
| Name | Type | Access | Description |
|---|
Identity | Matrix4 | Read | Gets the identity. |
Determinant | double | Read | Gets the determinant. |
| Signature | Description |
|---|
Matrix4(r0: Vector4, r1: Vector4, r2: Vector4, r3: Vector4) | Constructs a 4x4 matrix from the 16 supplied float components |
Matrix4(m00: double, m01: double, m02: double, m03: double, m10: double, m11: double, m12: double, m13: double, m20: double, m21: double, m22: double, m23: double, m30: double, m31: double, m32: double, m33: double) | |
Matrix4(m: FMatrix4) | |
Matrix4(m: float[]) | |
Matrix4(m: double[]) | |
Concatenate(m2: Matrix4) | |
Transpose() | |
Normalize() | |
Inverse() | |
SetTRS(translation: Vector3, rotation: Vector3, scale: Vector3) | Sets the trs value. |
ToArray() | |
Decompose(translation: Vector3, scaling: Vector3, rotation: Quaternion) | |
ToString() | |
Translate(t: Vector3) | |
Translate(tx: double, ty: double, tz: double) | |
Scale(s: Vector3) | Creates a scaling matrix using the provided FVector3 scale factors |
Scale(s: double) | |
Scale(sx: double, sy: double, sz: double) | |
RotateFromEuler(eul: Vector3) | |
RotateFromEuler(rx: double, ry: double, rz: double) | |
Rotate(angle: double, axis: Vector3) | |
Rotate(q: Quaternion) | |