docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetRecenterTarget

    GetRecenterTarget()

    Get the horizonmtal and vertical angles that correspong to "at rest" position.

    Declaration
    public Vector2 GetRecenterTarget()
    Returns
    Type Description
    Vector2

    X is horizontal angle (rot Y) and Y is vertical angle (rot X)

    In This Article
    Back to top
    Copyright © 2023 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)