Description

Tracking modes used by the DeviceTracking component to specify what type of tracking to use.

Example

// Set the device tracking mode to World
// @input Component.DeviceTracking deviceTrackingComponent
script.deviceTrackingComponent.requestDeviceTrackingMode(DeviceTrackingMode.World);

Enumeration Members

Enumeration Members

Rotation: number

Description

Use gyroscope tracking (rotation only)

Surface: number

Description

Use surface tracking (position and rotation)

World: number

Description

Use native tracking (position and rotation)

Generated using TypeDoc