File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ return {
2+ tag = ' headset-misc' ,
3+ summary = ' Stop the headset session.' ,
4+ description = [[
5+ Stops the headset session. This tears down the connection to the VR runtime and hardware.
6+ `lovr.draw` will instead start rendering to the desktop window, as though the headset module was
7+ disabled. However, certain information about the headset can still be queried, such as its
8+ name, supported passthrough modes, display size, etc. A headset session can be started later
9+ using `lovr.headset.start`.
10+ ]] ,
11+ arguments = {},
12+ returns = {},
13+ variants = {
14+ {
15+ arguments = {},
16+ returns = {}
17+ }
18+ },
19+ notes = [[
20+ The headset module behaves in the following manner when there is no headset session:
21+
22+ - `lovr.headset.isActive` returns `false`.
23+ - `lovr.headset.getPass` returns `nil`.
24+ - All devices will be untracked.
25+ ]] ,
26+ related = {
27+ ' lovr.headset.start' ,
28+ ' lovr.headset.isActive'
29+ }
30+ }
You can’t perform that action at this time.
0 commit comments