1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Add support for configuring the xr hand tracking frequency mode

This commit is contained in:
ne0fhyk
2021-12-09 11:36:53 -08:00
committed by Fredia Huya-Kouadio
parent e00d20aa5a
commit 9d22ad3c9b
4 changed files with 40 additions and 5 deletions

View File

@@ -55,6 +55,10 @@ static const int XR_HAND_TRACKING_NONE = 0;
static const int XR_HAND_TRACKING_OPTIONAL = 1;
static const int XR_HAND_TRACKING_REQUIRED = 2;
// Supported XR hand tracking frequencies.
static const int XR_HAND_TRACKING_FREQUENCY_LOW = 0;
static const int XR_HAND_TRACKING_FREQUENCY_HIGH = 1;
// Supported XR passthrough modes.
static const int XR_PASSTHROUGH_NONE = 0;
static const int XR_PASSTHROUGH_OPTIONAL = 1;