docs.unity.cn
    Show / Hide Table of Contents

    Method OrthoOffCenter

    OrthoOffCenter(Single, Single, Single, Single, Single, Single)

    Returns a float4x4 off-center orthographic projection matrix.

    Declaration
    public static float4x4 OrthoOffCenter(float left, float right, float bottom, float top, float near, float far)
    Parameters
    Type Name Description
    Single left

    The minimum x-coordinate of the view volume.

    Single right

    The maximum x-coordinate of the view volume.

    Single bottom

    The minimum y-coordinate of the view volume.

    Single top

    The minimum y-coordinate of the view volume.

    Single near

    The distance to the near plane.

    Single far

    The distance to the far plane.

    Returns
    Type Description
    float4x4

    The float4x4 off-center orthographic projection matrix.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023