docs.unity3d.com
    Show / Hide Table of Contents

    Enum MatchOrientation

    The option of which object's orientation in the rig Unity matches with the destination after teleporting.

    Namespace: UnityEngine.XR.Interaction.Toolkit
    Syntax
    public enum MatchOrientation

    Fields

    Name Description Value
    None

    After teleporting the XR Origin will not attempt to match any orientation.

    TargetUp

    After teleporting the XR Origin will be positioned such that its up vector matches target up.

    TargetUpAndForward

    After teleporting the XR Origin will be positioned such that its up and forward vectors match target up and forward, respectively.

    WorldSpaceUp

    After teleporting the XR Origin will be positioned such that its up vector matches world space up.

    Back to top
    Terms of use
    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