docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method MultiplyPerspectiveMatrix

    MultiplyPerspectiveMatrix(Matrix4x4, Matrix4x4)

    Multiplies a matrix with a perspective matrix. This function is faster than performing the full matrix multiplication. The operation order is perspective * rhs.

    Declaration
    public static Matrix4x4 MultiplyPerspectiveMatrix(Matrix4x4 perspective, Matrix4x4 rhs)
    Parameters
    Type Name Description
    Matrix4x4 perspective

    The perspective matrix to multiply with rhs.

    Matrix4x4 rhs

    A matrix to be multiply to perspective.

    Returns
    Type Description
    Matrix4x4

    Returns the matrix that is the result of the multiplication.

    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)