arStart
Emitted when WebARSession is started.
Not available in SceneViewer or AR Quick Look.
Property | Type | Description |
---|---|---|
type | string | The type of event |
target | View3D | An instance of View3D that triggered this event |
session | WebARSession | An instance of WebARSession that triggered this event |
- JSON
- JavaScript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
src: "/egjs-view3d/model/draco/alarm.glb",
iosSrc: "/egjs-view3d/model/usdz/alarm.usdz",
webAR: {
overlayRoot: ".view3d-events-overlay"
}
}