Phương pháp
Matrix4 là một ma trận biến đổi 4x4 single-precision được sử dụng nội bộ để tạo thành các biến đổi không gian toàn cục và không gian cục bộ. Nó có thể được xây dựng từ các phân tách dịch chuyển, quay và tỷ lệ (TRS).
Xem thêm
| 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) | |