Method RotateAroundCameraUsingOriginUp | XR Core Utilities | 2.3.0
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RotateAroundCameraUsingOriginUp

    RotateAroundCameraUsingOriginUp(float)

    Rotates the XR origin object around the camera object by the provided angleDegrees. This rotation only occurs around the origin's Up vector

    Declaration
    public bool RotateAroundCameraUsingOriginUp(float angleDegrees)
    Parameters
    Type Name Description
    float angleDegrees

    The amount of rotation in degrees.

    Returns
    Type Description
    bool

    Returns true if the rotation is performed. Otherwise, returns false.

    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)