Matrix4

Enumerazioni

Matrix4 è una matrice di trasformazione 4x4 single-precision usata internamente per comporre trasformazioni world-space e local-space. Può essere costruita a partire da decomposizioni di translation, rotation e scale (TRS).

Vedi anche

NameTypeAccessDescription
IdentityMatrix4ReadGets the identity.
DeterminantdoubleReadGets the determinant.
SignatureDescription
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)
 Italiano