From aaa4142a37e77e1974e7620a50cf6d9682c5dc51 Mon Sep 17 00:00:00 2001 From: Grosskopf Date: Sun, 22 Oct 2017 02:35:25 +0200 Subject: [PATCH] added some arvr docs --- doc/classes/ARVRAnchor.xml | 1 + doc/classes/ARVRController.xml | 2 ++ doc/classes/ARVROrigin.xml | 2 ++ doc/classes/ARVRPositionalTracker.xml | 4 ++++ doc/classes/ARVRServer.xml | 1 + 5 files changed, 10 insertions(+) diff --git a/doc/classes/ARVRAnchor.xml b/doc/classes/ARVRAnchor.xml index 6e110340737..ecd882cdb0d 100644 --- a/doc/classes/ARVRAnchor.xml +++ b/doc/classes/ARVRAnchor.xml @@ -60,6 +60,7 @@ + The anchor's id. You can set this before the anchor itself exists. The first anchor gets an id of [code]1[/code], the second an id of [code]2[/code], etc. When anchors get removed, the engine can then assign the corresponding id to new anchors. The most common situation where anchors 'disappear' is when the AR server identifies that two anchors represent different parts of the same plane and merges them. diff --git a/doc/classes/ARVRController.xml b/doc/classes/ARVRController.xml index 557f915c1d8..af1deda2f03 100644 --- a/doc/classes/ARVRController.xml +++ b/doc/classes/ARVRController.xml @@ -31,6 +31,7 @@ + Returns the hand holding this controller, if known. See TRACKER_* constants in [ARVRPositionalTracker]. @@ -77,6 +78,7 @@ + The controller's id. The first controller that the [ARVRServer] detects will have id 1, the second id 2, the third id 3, etc. When a controller is turned off, it's slot is freed. This ensures controllers will keep the same id even when controllers with lower ids are turned off. diff --git a/doc/classes/ARVROrigin.xml b/doc/classes/ARVROrigin.xml index 28864bb3aec..226a69dea43 100644 --- a/doc/classes/ARVROrigin.xml +++ b/doc/classes/ARVROrigin.xml @@ -35,6 +35,8 @@ + Allows you to adjust the scale to your game's units. Most AR/VR platforms assume a scale of 1 game world unit = 1 meter in the real world. + Note that this method is a passthrough to the [ARVRServer] itself. diff --git a/doc/classes/ARVRPositionalTracker.xml b/doc/classes/ARVRPositionalTracker.xml index 13796773444..686ac1db775 100644 --- a/doc/classes/ARVRPositionalTracker.xml +++ b/doc/classes/ARVRPositionalTracker.xml @@ -17,6 +17,7 @@ + Returns the hand holding this tracker, if known. See TRACKER_* constants. @@ -80,10 +81,13 @@ + The hand this tracker is held in is unknown or not applicable. + This tracker is the left hand controller. + This tracker is the right hand controller. diff --git a/doc/classes/ARVRServer.xml b/doc/classes/ARVRServer.xml index 5e1055d568c..73e0d2bee16 100644 --- a/doc/classes/ARVRServer.xml +++ b/doc/classes/ARVRServer.xml @@ -121,6 +121,7 @@ + Allows you to adjust the scale to your game's units. Most AR/VR platforms assume a scale of 1 game world unit = 1 meter in the real world.