docs.unity3d.com
    Show / Hide Table of Contents

    Namespace UnityEngine.XR.Interaction.Toolkit.AR

    Classes

    ARAnnotation

    An annotation that appears when hovering over the GameObject this component is attached to.

    ARAnnotationInteractable

    Controls displaying one or more annotations when hovering over the this component is attached to.

    ARBaseGestureInteractable

    Base class that manipulates an object via a gesture.

    ARGestureInteractor

    The ARGestureInteractor allows the user to manipulate virtual objects (select, translate, rotate, scale, and elevate) through gestures (tap, drag, twist, and pinch).

    ARObjectPlacedEvent

    that is invoked when an object is placed.

    ARObjectPlacementEvent

    that is invoked when an object is placed.

    ARObjectPlacementEventArgs

    Event data associated with the event when an object is placed.

    ARPlacementInteractable

    Controls the placement of Andy objects via a tap gesture.

    ARRotationInteractable

    Manipulates the rotation of an object via a drag or a twist gesture. If an object is selected, then dragging along the horizontal axis or performing a twist gesture will rotate along the y-axis of the item.

    ARScaleInteractable

    Controls the scale of an object via a Pinch gesture. If an object is selected, then doing a pinch/zoom will modify the scale of the object.

    ARSelectionInteractable

    Controls the selection of an object through a Tap gesture.

    ARTranslationInteractable

    Manipulates the position of an object via a drag gesture. If not selected, the object will be selected when the drag gesture starts.

    DragGesture

    Gesture for when the user performs a drag motion on the touch screen.

    DragGestureRecognizer

    Gesture Recognizer for when the user performs a drag motion on the touch screen.

    Gesture<T>

    A Gesture represents a sequence of touch events that are detected to represent a particular type of motion (e.g. Dragging, Pinching).

    GestureRecognizer<T>

    A Gesture Recognizer processes touch input to determine if a gesture should start and fires an event when the gesture is started.

    GestureTransformationUtility

    Provides helper functions for common functionality for transforming objects in AR.

    PinchGesture

    Gesture for when the user performs a two-finger pinch motion on the touch screen.

    PinchGestureRecognizer

    Gesture Recognizer for when the user performs a two-finger pinch motion on the touch screen.

    TapGesture

    Gesture for when the user performs a tap on the touch screen.

    TapGestureRecognizer

    Gesture Recognizer for when the user performs a tap on the touch screen.

    TwistGesture

    Gesture for when the user performs a two-finger twist motion on the touch screen.

    TwistGestureRecognizer

    Gesture Recognizer for when the user performs a two-finger twist motion on the touch screen.

    TwoFingerDragGesture

    Gesture for when the user performs a two finger vertical swipe motion on the touch screen.

    TwoFingerDragGestureRecognizer

    Gesture Recognizer for when the user performs a two finger drag motion on the touch screen.

    Structs

    GestureTransformationUtility.Placement

    Result of the function GetBestPlacementPosition(Vector3, Vector2, Single, Single, Single, GestureTransformationUtility.GestureTranslationMode, ARSessionOrigin, TrackableType, Int32) that indicates if a placement position was found and information about the placement position.

    Enums

    GestureTransformationUtility.GestureTranslationMode

    Represents the alignment of a plane where translation is allowed.

    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