Gaze and Dwell

Gaze and Dwell interaction uses your head movement as a pointer, and focusing on any object allows you to select any option in the application.

This feature is recommended for only a few applications where the objective is to explore the immersive environment with minimum interactions.

How to Implement Gaze and Dwell Interaction

  • Select the Pointer source and gaze mode from the editor inside the input manager.

  • Drag and drop JMRGazeInteractable.cs to use the default Gaze and Dwell features. For example, 3d objects,2d objects, UI elements, etc.; for more information, refer to the Example scene.

  • To add custom behavior to dwell extent IDwellhandler Interface

    • OnDwellStart

    • OnDwellCancel

    • OnDwellCompleted