Type alias ARButtonOptions
ARButtonOptions: {
onNotAllowed?: ((exception: DOMException) => void);
onSessionEnded?: ((session: XRSession) => void);
onSessionStarted?: ((session: XRSession) => void);
onUnsupported?: (() => void);
sessionInit?: XRSessionInit;
}
Type declaration
-
Optional
onNotAllowed?: ((exception: DOMException) => void)
-
- (exception: DOMException): void
-
Returns void
-
Optional
onSessionEnded?: ((session: XRSession) => void)
-
- (session: XRSession): void
-
Returns void
-
Optional
onSessionStarted?: ((session: XRSession) => void)
-
- (session: XRSession): void
-
Returns void
-
Optional
onUnsupported?: (() => void)
-
Optional
sessionInit?: XRSessionInit