docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method MatrixTimesTranslation

    MatrixTimesTranslation(ref Matrix4x4, Vector3)

    This function provides the equivalent of multiplying matrix parameter inOutMatrix with a translation matrix defined by the parameter translation. The order of the equivalent multiplication is inOutMatrix * translation.

    Declaration
    public static void MatrixTimesTranslation(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.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)