docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum XRGeneralGrabTransformer.ConstrainedAxisDisplacementMode

    Constrained Axis Displacement Mode

    Namespace: UnityEngine.XR.Interaction.Toolkit.Transformers
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    public enum XRGeneralGrabTransformer.ConstrainedAxisDisplacementMode

    Fields

    Name Description
    ObjectRelative

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

    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.

    WorldAxisRelative

    Uses the world axes to project all displacement against.

    See Also
    constrainedAxisDisplacementMode
    In This Article
    Back to top
    Copyright © 2025 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)