docs.unity.cn
    Show / Hide Table of Contents

    Enum GestureTransformationUtility.GestureTranslationMode

    Represents the alignment of a plane where translation is allowed.

    Namespace: UnityEngine.XR.Interaction.Toolkit.AR
    Syntax
    public enum GestureTranslationMode

    Fields

    Name Description Value
    Horizontal

    Allow translation when the plane is horizontal.


    0
    Vertical

    Allow translation when the plane is vertical.


    1
    Any

    Allow translation on any plane.


    2
    See Also
    GetBestPlacementPosition(Vector3, Vector2, Single, Single, Single, GestureTransformationUtility.GestureTranslationMode, XROrigin, TrackableType, Int32)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Tuesday, June 20, 2023