😅
JMRSDK Development
v4.33
v4.33
  • Jio Mixed Reality SDK Documentation
    • Changelog 4.33.0
      • Upgrade Guide 4.33.0
    • Changelog 4.33.13
      • Upgrade Guide 4.33.13
  • Device Information
    • Supported Smartphones
  • Controller Specifications
    • Physical Controllers
    • Virtual Controller / Virtual Keyboard for JioGlass
  • Getting Started
    • Development Platform
    • Setting Up Jio Mixed Reality Project in Unity
    • URP Support
      • Setting Up Your Project With URP
      • Reverting Back to Built-In Render Pipeline
  • JMRSDK
    • JMRSDK Content
    • JMRMixedReality Prefab
    • System Dock
    • JMRRig
      • Local Rig
      • Setting Homepage (Quit functionality)
      • Recenter Application on Resume
  • Develop
    • Editor Emulator
    • JioGlass Controller Interactions
    • Cameras
    • Tesseract Mixed Reality UI Toolkits
    • Examples
  • Interaction
    • Gaze Interaction
      • Gaze and Click
      • Gaze and Dwell
    • Interaction
      • Pointer Manager
        • Examples
    • Interfaces
      • ISelectHandler
      • ISelectClickHandler
      • IFocusable
      • ISwipeHandler
      • ITouchHandler
      • IBackHandler
      • IHomeHandler
      • IMenuHandler
      • IVoiceHandler
      • IFn1Handler
      • IFn2Handler
      • IManipulationHandler
    • Controller Input Actions
      • Touchpad - Touch
      • Touchpad - Swipe
      • Source Buttons
      • Manipulation
    • Actions
    • Device State
      • Device Connected
      • Device Disconnected
      • Battery percentage update
      • Scanning for Device
      • Battery Percentage
  • Voice
    • Voice
      • Speech Events
      • Speech Result
      • Speech Error
      • Speech Session End
      • Speech Cancel
    • Listening
  • Tracking
    • Tracking
      • Coordinate System
    • Tracking Framework
      • TrackerManager Actions
        • Get Head Position
        • Get Head Rotation
        • Get Head Transform
      • TrackerManager Methods
        • Get Head Position
        • Get Head Rotation
        • Get Head Transform
    • Recenter
  • Building and Testing
    • Building to Target Device
      • Merging AndroidManifest
      • Performance Optimization
      • App optimization
    • JioImmerse App For Jio Mixed Reality (TMR) Devices
      • Running the application on Prism (Holoboard)
    • IPD Calibration
  • Publish
    • Licensing Journey
    • Signing App for App Store
    • Publishing to JioGlass Developer Console
    • Publishing to Google Play Store
      • Play Store Upload Journey
  • Capturing and Recording
    • Capture Videos and Screenshots
      • Capturing Screenshot/Videos using scrcpy
      • Capturing Screenshot/Videos using Vysor
  • Troubleshooting
    • FAQs - Develop
    • FAQs - Building to device
      • Gradle
      • Old aaptOptions error fix
    • FAQs - Running and Publishing
    • Laser Point Not Visible
Powered by GitBook
On this page
  • JioDive
  • Currently active pointing source
  • Gaze for interaction
  1. Interaction

Gaze Interaction

Gaze interaction is mandatory for running JioDive without controller.

JioDive

JioDive can run without a controller through Gaze Interaction.

In Gaze interaction there are two modes:

  1. Gaze and Click: Gaze and Click interaction uses your head movement as a pointer, and clicking on any object using the JioDive allows you to select any option in the application.

  2. 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.

Currently active pointing source

To get the current pointing source, use the below line of code -

JMRPointerManager.Instance.PrefferedPointingSource

This will return if the application is running on JioGlass Controller or gaze (head) control.

Gaze for interaction

Gaze can be used for much more than just UI

Create a ray from the Head towards the forward direction to create more interactions of your own.

Ray ray = new Ray(JMRTrackerManager.Instance.GetHeadPosition(),
    JMRTrackerManager.Instance.GetHeadTransform().forward);
bool isHitting = Physics.Raycast(ray, out RaycastHit hit);
if (isHitting)
{
    //do something
}
PreviousExamplesNextGaze and Click

Last updated 2 years ago