Method TranslationTimesMatrix
TranslationTimesMatrix(ref Matrix4x4, Vector3)
This function provides the equivalent of multiplying a translation matrix defined by the parameter translation with the matrix specified by the parameter inOutMatrix. The order of the equivalent multiplication is translation * inOutMatrix.
Declaration
public static void TranslationTimesMatrix(ref Matrix4x4 inOutMatrix, Vector3 translation)
Parameters
Type | Name | Description |
---|---|---|
Matrix4x4 | inOutMatrix | Matrix to multiply with translation. |
Vector3 | translation | Translation component to multiply to the matrix. |