From 84f6791bd8278e27a1c993440335dfd1457968d7 Mon Sep 17 00:00:00 2001
From: avemort <666mon@gmail.com>
Date: Mon, 7 Nov 2022 19:31:39 -0300
Subject: expose XRInterface::get_transform_for_view and
XRInterface::get_projection_for_view to gdscript
---
doc/classes/XRInterface.xml | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
(limited to 'doc')
diff --git a/doc/classes/XRInterface.xml b/doc/classes/XRInterface.xml
index cc483dbd02..05d5eb6673 100644
--- a/doc/classes/XRInterface.xml
+++ b/doc/classes/XRInterface.xml
@@ -35,6 +35,16 @@
Returns an array of vectors that denotes the physical play area mapped to the virtual space around the [XROrigin3D] point. The points form a convex polygon that can be used to react to or visualize the play area. This returns an empty array if this feature is not supported or if the information is not yet available.
+
+
+
+
+
+
+
+ Returns the projection matrix for a view/eye.
+
+
@@ -47,6 +57,16 @@
If supported, returns the status of our tracking. This will allow you to provide feedback to the user whether there are issues with positional tracking.
+
+
+
+
+
+ Returns the transform for a view/eye.
+ [param view] is the view/eye index.
+ [param cam_transform] is the transform that maps device coordinates to scene coordinates, typically the global_transform of the current XROrigin3D.
+
+
--
cgit v1.2.3