summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-03-04 12:34:11 +0100
committerGitHub <noreply@github.com>2020-03-04 12:34:11 +0100
commita74895dfdbe77feed2e1f35335696bf78a78e5a5 (patch)
treed596a69e0da7593038fee45e28c6f46b9789386b /doc/classes
parentc90ec71bcd60c597ebc0c4d38e43bf1f3c0594a6 (diff)
parentf0b1edef8b5e3751caae6b1bc8fadf004c1578a9 (diff)
Merge pull request #36596 from BastiaanOlij/add_get_tracker_id
Exposing get_tracker_id for ARVRPositionalTracker to GDScript
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/ARVRPositionalTracker.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/ARVRPositionalTracker.xml b/doc/classes/ARVRPositionalTracker.xml
index 9225717978..640b721d37 100644
--- a/doc/classes/ARVRPositionalTracker.xml
+++ b/doc/classes/ARVRPositionalTracker.xml
@@ -54,6 +54,13 @@
Returns the world-space controller position.
</description>
</method>
+ <method name="get_tracker_id" qualifiers="const">
+ <return type="int">
+ </return>
+ <description>
+ Returns the internal tracker ID. This uniquely identifies the tracker per tracker type and matches the ID you need to specify for nodes such as the [ARVRController] and [ARVRAnchor] nodes.
+ </description>
+ </method>
<method name="get_tracks_orientation" qualifiers="const">
<return type="bool">
</return>