lovr.headset.getDriver
EditReturns the HeadsetDriver
that is currently in use, plus the name of the VR runtime. The order of headset drivers can be changed using lovr.conf
.
driver, runtime = lovr.headset.getDriver()
Arguments
None
Returns
Name | Type | Description |
driver | HeadsetDriver |
The current headset backend, e.g. openxr or simulator .
|
runtime | string |
The name of the VR runtime, e.g. SteamVR/OpenXR .
|