docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryGetProjectionMatrix

    TryGetProjectionMatrix(out Matrix4x4)

    Get the projection matrix for the frame if possible.

    Declaration
    public bool TryGetProjectionMatrix(out Matrix4x4 projectionMatrix)
    Parameters
    Type Name Description
    Matrix4x4 projectionMatrix

    The projection matrix. Equal to projectionMatrix.

    Returns
    Type Description
    bool

    true if the frame has a projection matrix. Otherwise, false. Equal to hasProjectionMatrix.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023