summaryrefslogtreecommitdiffstats
path: root/modules/mobile_vr/mobile_vr_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mobile_vr/mobile_vr_interface.h')
-rw-r--r--modules/mobile_vr/mobile_vr_interface.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/mobile_vr/mobile_vr_interface.h b/modules/mobile_vr/mobile_vr_interface.h
index e1d43fff74..490b1c393c 100644
--- a/modules/mobile_vr/mobile_vr_interface.h
+++ b/modules/mobile_vr/mobile_vr_interface.h
@@ -33,6 +33,7 @@
#include "servers/xr/xr_interface.h"
#include "servers/xr/xr_positional_tracker.h"
+#include "servers/xr/xr_vrs.h"
/**
The mobile interface is a native VR interface that can be used on Android and iOS phones.
@@ -72,6 +73,8 @@ private:
Ref<XRPositionalTracker> head;
Transform3D head_transform;
+ XRVRS xr_vrs;
+
/*
logic for processing our sensor data, this was originally in our positional tracker logic but I think
that doesn't make sense in hindsight. It only makes marginally more sense to park it here for now,
@@ -138,6 +141,12 @@ public:
void set_k2(const double p_k2);
double get_k2() const;
+ float get_vrs_min_radius() const;
+ void set_vrs_min_radius(float p_vrs_min_radius);
+
+ float get_vrs_strength() const;
+ void set_vrs_strength(float p_vrs_strength);
+
virtual StringName get_name() const override;
virtual uint32_t get_capabilities() const override;
@@ -161,6 +170,8 @@ public:
virtual void process() override;
+ virtual RID get_vrs_texture() override;
+
MobileVRInterface();
~MobileVRInterface();
};