docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method OrthoOffCenter

    OrthoOffCenter(float, float, float, float, float, float)

    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
    float left

    The minimum x-coordinate of the view volume.

    float right

    The maximum x-coordinate of the view volume.

    float bottom

    The minimum y-coordinate of the view volume.

    float top

    The minimum y-coordinate of the view volume.

    float near

    The distance to the near plane.

    float far

    The distance to the far plane.

    Returns
    Type Description
    float4x4

    The float4x4 off-center orthographic projection matrix.

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