Skip to main content

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

PropertyTypeDescription
statusStringOne of LIMITED or NORMAL.
reasonStringOne of INITIALIZING or UNDEFINED.

Example

defineState('initial-state').initial().listen(world.events.globalId, ecs.events.REALITY_TRACKING_STATUS, (event) => {
console.log('Tracking status: ', event.data.status)
})