World Effects Events
Events
REALITY_TRACKING_STATUS
This event is emitted by World Effects when the engine starts and tracking status or reason changes.
Properties
| Property | Type | Description |
|---|---|---|
| status | String | One of LIMITED or NORMAL. |
| reason | String | One of INITIALIZING or UNDEFINED. |
Example
- .listen
- .onEvent
- .addEventListener
defineState('initial-state').initial().listen(world.events.globalId, ecs.events.REALITY_TRACKING_STATUS, (event) => {
console.log('Tracking status: ', event.data.status)
})