WVR_EXPORT WVR_InteractionMode WVR_GetInteractionMode()
Function to get the interaction mode of the application.
- WVR_InteractionMode, the interaction mode of the application.
- API Level 2
- Effective with Runtime version 2 or higher
How to use¶
This function is programmed for getting current interaction mode. If the API level is lower than 2, this function would be disabled.
Here is an example for the function:
#include <wvr/wvr_device.h> WVR_InteractionMode mInteractionMode; mInteractionMode = WVR_GetInteractionMode();
The example above uses WVR_GetInteractionMode() to get the value of current interaction mode. The default value of interaction mode is base on various VR projects.
The interaction mode of the application.
Gaze mode only.
The application uses the controller if a controller is connected; otherwise the application switches to gaze.
Use hand model for interaction.