2
0
bjorn 2 жил өмнө
parent
commit
e16c8d6a0a

+ 4 - 0
api/init.lua

@@ -21743,6 +21743,10 @@ return {
               name = "head",
               description = "The headset."
             },
+            {
+              name = "floor",
+              description = "A device representing the floor, at the center of the play area.  The pose of this device in physical space will remain constant, even if after recentering."
+            },
             {
               name = "left",
               description = "A shorthand for hand/left."

+ 7 - 0
api/lovr/headset/Device.lua

@@ -5,6 +5,13 @@ return {
       name = 'head',
       description = 'The headset.'
     },
+    {
+      name = 'floor',
+      description = [[
+        A device representing the floor, at the center of the play area.  The pose of this device in
+        physical space will remain constant, even if after recentering.
+      ]]
+    },
     {
       name = 'left',
       description = 'A shorthand for hand/left.'