googlevr / gvr-ios-sdk

Google VR SDK for iOS
http://developers.google.com/vr/ios/
Other
645 stars 191 forks source link

Timed gaze input interaction #297

Closed sujay46 closed 6 years ago

sujay46 commented 6 years ago

Have anyone tried implementing timed gaze interaction like we can do in Unity? I want to implement gaze interaction in my VideoPlayer. The play and pause actions need to be triggered by timed gaze interaction.

sanjayc77 commented 6 years ago

Look at the TreasureHunt sample. It highlights the cube when the user is looking at it. You can easily put a timer based code to perform a selection if the user is looking at it for some time.