XrDevice
class XrDevice
Provides hardware capabilities of the device.
Summary
Nested types |
|---|
|
A device capability that determines how virtual content is added to the real world. |
Public companion functions |
|
|---|---|
XrDevice |
getCurrentDevice(session: Session) |
Public functions |
|
|---|---|
XrDevice.DisplayBlendMode |
Returns the preferred display blend mode for this session. |
Public companion functions
Public functions
getPreferredDisplayBlendMode
Added in 1.0.0-alpha08
fun getPreferredDisplayBlendMode(): XrDevice.DisplayBlendMode
Returns the preferred display blend mode for this session.
| Returns | |
|---|---|
XrDevice.DisplayBlendMode |
The |
| Throws | |
|---|---|
kotlin.IllegalStateException |
if the |