XRSystem
Functions
Link copied to clipboard
Link copied to clipboard
Queries if a given mode may be supported by the user agent and device capabilities.
Link copied to clipboard
fun isSessionSupportedAsync(mode: XRSessionMode): Promise<ERROR CLASS: Symbol not found for JsBoolean>
Queries if a given mode may be supported by the user agent and device capabilities.
Link copied to clipboard
Attempts to initialize an XRSession for the given mode if possible, entering immersive mode if necessary.
Link copied to clipboard
fun requestSessionAsync(mode: XRSessionMode, options: XRSessionInit = definedExternally): Promise<XRSession>
Attempts to initialize an XRSession for the given mode if possible, entering immersive mode if necessary.
Link copied to clipboard