docs.unity3d.com
    Show / Hide Table of Contents

    Enum XRGeneralGrabTransformer.ConstrainedAxisDisplacementMode

    Constrained Axis Displacement Mode

    Namespace: UnityEngine.XR.Interaction.Toolkit.Transformers
    Syntax
    public enum ConstrainedAxisDisplacementMode

    Fields

    Name Description Value
    ObjectRelative

    Determines the permitted axes based on the initial object rotation in world space.


    0
    ObjectRelativeWithLockedWorldUp

    Determines the permitted axes based on the initial object rotation in world space, but also locks the up axis to be the world up.


    1
    WorldAxisRelative

    Uses the world axes to project all displacement against.


    2
    See Also
    constrainedAxisDisplacementMode
    Back to top
    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