Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 2.52 KB

interactor-components.md

File metadata and controls

34 lines (26 loc) · 2.52 KB
uid
xri-interactor-components

Interactor components

The interactor components provided by the toolkit.

Topic Description
Near-Far Interactor Interacts with both close and distant interactables when the user either touches or points at them.
XR Direct Interactor Interacts with nearby interactables when the user touches them.
XR Poke Interactor Interacts with nearby interactables when the user performs a specific poking motion.
XR Ray Interactor Interacts with interactables at a distance when the user points at them.
XR Gaze Interactor Interacts with gaze-enabled interactables via eye tracking. (Can fallback to use head tracking for devices that don't support eye tracking.)
XR Socket Interactor A specialized interactor that only interacts with interactables close to it.
AR Gesture Interactor (Deprecated) Interacts with ARGestureInteractable objects through mobile device touchscreen gesture input.

Helper components that modify interactor visuals or behavior.

Topic Description
Interaction Attach Controller Controls the motion of an object that the user picks up.
Curve Visual Controller Controls the line drawn from a compatible interactor.
XR Hand Skeleton Poke Displacer Helps prevent a hand mesh from penetrating buttons or other UI elements during a poke interaction.
XR Interactor Line Visual Controls the line drawn from a compatible interactor.
XR Interactor Reticle Visual Draws a reticle Prefab where the user is pointing.
XR Gaze Assistance Enables ray interactors to use gaze-based interaction when the ray is pointing offscreen. Also provides aim assistance for thrown objects or other projectiles.

Additional resources