Quest and Pico body tracking
* Update OpenXR SDK to 1.1.48
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "configuration.h"
|
||||
#include "wifi_lock.h"
|
||||
#include "xr/fb_body_tracker.h"
|
||||
#include "xr/fb_face_tracker2.h"
|
||||
#include "xr/hand_tracker.h"
|
||||
#include "xr/htc_face_tracker.h"
|
||||
@@ -137,6 +138,11 @@ class application : public singleton<application>
|
||||
bool pico_face_tracking_supported = false;
|
||||
xr::pico_face_tracker pico_face_tracker;
|
||||
|
||||
bool fb_body_tracking_supported = false;
|
||||
xr::fb_body_tracker fb_body_tracker;
|
||||
bool pico_body_tracking_supported = false;
|
||||
xr::pico_body_tracker pico_body_tracker;
|
||||
|
||||
bool eye_gaze_supported = false;
|
||||
|
||||
bool openxr_post_processing_supported = false;
|
||||
@@ -445,6 +451,16 @@ public:
|
||||
return instance().pico_face_tracking_supported;
|
||||
}
|
||||
|
||||
static bool get_fb_body_tracking_supported()
|
||||
{
|
||||
return instance().fb_body_tracking_supported;
|
||||
}
|
||||
|
||||
static bool get_pico_body_tracking_supported()
|
||||
{
|
||||
return instance().pico_body_tracking_supported;
|
||||
}
|
||||
|
||||
static bool get_eye_gaze_supported()
|
||||
{
|
||||
return instance().eye_gaze_supported;
|
||||
@@ -485,6 +501,16 @@ public:
|
||||
return instance().pico_face_tracker;
|
||||
}
|
||||
|
||||
static xr::fb_body_tracker & get_fb_body_tracker()
|
||||
{
|
||||
return instance().fb_body_tracker;
|
||||
}
|
||||
|
||||
static xr::pico_body_tracker & get_pico_body_tracker()
|
||||
{
|
||||
return instance().pico_body_tracker;
|
||||
}
|
||||
|
||||
static const std::vector<std::string> & get_xr_extensions()
|
||||
{
|
||||
return instance().xr_extensions;
|
||||
|
||||
Reference in New Issue
Block a user