|
|
| static bool | runtimeUsable () |
| | VR Runtime is usable.
|
| |
| static void | requestFeatureEyeGazeTracking (VRFeatureSupportLevel level) |
| | Set feature request level for eye gaze tracking.
|
| |
| static void | requestFeatureFacialTracking (VRFeatureSupportLevel level) |
| | Set feature request level for facial tracking.
|
| |
| static void | requestFeatureBodyTracking (VRFeatureSupportLevel level) |
| | Set feature request level for body tracking.
|
| |
| static bool | supportsEyeGazeTracking () |
| | Eye gaze tracking is supported.
|
| |
| static bool | supportsFacialTracking () |
| | Facial tracking is supported.
|
| |
| static bool | supportsBodyTracking () |
| | Body tracking is supported.
|
| |
| static void | startRuntime () |
| | Start VR.
|
| |
| static void | stopRuntime () |
| | Stop VR.
|
| |
| static bool | isRuntimeRunning () |
| | VR is running.
|
| |
| static Camera | getCamera () |
| | Camera to render on head mounted display or null.
|
| |
| static void | setCamera (Camera camera) |
| | Set camera to render on head mounted display.
|
| |
| static bool | supportsPassthrough () |
| | VR Runtime supports presenting user environment inside the rendered world.
|
| |
| static bool | getEnablePassthrough () |
| | Presenting user environment inside the rendered world is enabled.
|
| |
| static void | setEnablePassthrough (bool enable) |
| | Enable presenting user environment inside the rendered world.
|
| |
| static float | getPassthroughTransparency () |
| | Transparency of user environment presented inside the rendered world.
|
| |
| static void | setPassthroughTransparency (float transparency) |
| | Set transparency of user environment presented inside the rendered world.
|
| |
| static void | centerPlayspace () |
| | Center playspace with forward direction matching looking direction.
|
| |
|
| static int | getDeviceCount () |
| | Number of input devices.
|
| |
| static InputDevice | getDeviceAt (int index) |
| | Information for input device at index.
|
| |
| static int | indexOfDeviceWithID (String id) |
| | Index of device with identifier or -1 if absent.
|
| |
| static int | indexOfButtonWithID (int device, String id) |
| | Index of button with identifier on device at index or -1 if absent.
|
| |
| static int | indexOfAxisWithID (int device, String id) |
| | Index of axis with identifier on device at index or -1 if absent.
|
| |
| static int | indexOfFeedbackWithID (int device, String id) |
| | Index of feedback with identifier on device at index or -1 if absent.
|
| |
| static bool | getButtonPressed (int device, int button) |
| | Button at index on device at index is pressed down.
|
| |
| static bool | getButtonTouched (int device, int button) |
| | Button at index on device at index is touched.
|
| |
| static bool | getButtonNear (int device, int button) |
| | User finger is near button at index on device at index.
|
| |
| static float | getAxisValue (int device, int axis) |
| | Value of axis at index on device at index.
|
| |
| static float | getFeedbackValue (int device, int feedback) |
| | Value of feedback at index on device at index.
|
| |
| static void | setFeedbackValue (int device, int feedback, float value) |
| | Set value of feedback at index on device at index.
|
| |
|
| static int | getParameterCount () |
| | Number of parameters available.
|
| |
| static ModuleParameter | getParameterInfo (int index) |
| | Parameter information.
|
| |
| static ModuleParameter | getParameterInfo (String name) |
| | Named parameter information or null if not found.
|
| |
| static String | getParameterValue (String name) |
| | Parameter value.
|
| |
| static void | setParameterValue (String name, String value) |
| | Set named parameter value.
|
| |
| static String | sendCommand (String command) |
| | Send command.
|
| |
VR system.
- Version
- 1.6
This is a native class. This is a pure static class. The class can not be instantiated
| static void Dragengine.VRSystem.requestFeatureBodyTracking |
( |
VRFeatureSupportLevel |
level | ) |
|
|
static |
Set feature request level for body tracking.
- Version
- 1.31
Body tracking provides the pose of body as input device bones. Estimating bode pose is an expensive operation running on the headset. The majority of games and applications do not require body tracking. To enable set the feature request level to VRFeatureSupportLevel::optional or VRFeatureSupportLevel::required.
The set feature request level takes effect only the next time startRuntime() is called. It has no effect while the VR runtime is running.
If the VR module does not support body tracking and VRFeatureSupportLevel::required is specified an exception is thrown.
| static void Dragengine.VRSystem.requestFeatureEyeGazeTracking |
( |
VRFeatureSupportLevel |
level | ) |
|
|
static |
Set feature request level for eye gaze tracking.
- Version
- 1.17
Tracking eye gaze features is consider a high privacy operation by most VR environments. Enabling this feature usually requires the user to explicitely agree. Furthermore eye gaze tracking is not required for the majority of games and applications. For these reasons eye gaze tracking is disabled by default. To enable set the feature request level to VRFeatureSupportLevel::optional or VRFeatureSupportLevel::required.
The set feature request level takes effect only the next time StartRuntime() is called. It has no effect while the VR runtime is running.
If the VR module does not support eye gaze tracking and VRFeatureSupportLevel::required is specified an exception is thrown.
| static void Dragengine.VRSystem.requestFeatureFacialTracking |
( |
VRFeatureSupportLevel |
level | ) |
|
|
static |
Set feature request level for facial tracking.
- Version
- 1.17
Facial tracking includes eye tracking and mouth tracking. Tracking facial features is consider a high privacy operation by most VR environments. Enabling this feature usually requires the user to explicitely agree. Furthermore facial tracking typically is an expensive operation and can degrade performance. Last but not least facial tracking is not required for the majority of games and applications. For this reason facial tracking is disabled by default. To enable set the feature request level to VRFeatureSupportLevel::optional or VRFeatureSupportLevel::required.
The set feature request level takes effect only the next time StartRuntime() is called. It has no effect while the VR runtime is running.
If the VR module does not support facial tracking and VRFeatureSupportLevel::required is specified an exception is thrown.