ARManager
class ARManager
ARManager that manages AR sessions
Methods
constructor
new ARManager(view3D)
Create a new instance of the ARManager
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
view3D | View3D | An instance of the View3D |
Methods
isAvailable
Return a Promise containing whether any of the added session is available
If any of the AR session in current environment, this will return true
Returns: Promise<boolean>
- Availability of the AR session
enter
Enter XR Session.
This should be called from a user interaction.
Returns: Promise<void>
exit
Exit current XR Session.