Tracking modes used by the DeviceTracking component to specify what type of tracking to use.
// Set the device tracking mode to World// @input Component.DeviceTracking deviceTrackingComponentscript.deviceTrackingComponent.requestDeviceTrackingMode(DeviceTrackingMode.World); Copy
// Set the device tracking mode to World// @input Component.DeviceTracking deviceTrackingComponentscript.deviceTrackingComponent.requestDeviceTrackingMode(DeviceTrackingMode.World);
Use gyroscope tracking (rotation only)
Use surface tracking (position and rotation)
Use native tracking (position and rotation)
Tracking modes used by the DeviceTracking component to specify what type of tracking to use.
See
Example