docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ApplyXRViewCenterOffset

    ApplyXRViewCenterOffset(Vector2)

    Take a point that is center-relative (0.5, 0.5) and modify it to be placed relative to the view's center instead, respecting the asymmetric FOV (if it is used)

    Declaration
    public Vector4 ApplyXRViewCenterOffset(Vector2 center)
    Parameters
    Type Name Description
    Vector2 center
    Returns
    Type Description
    Vector4
    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)