Using the Device Tracker

Vuforia Engine supports positional device tracking which allows for 6 degrees-of-freedom tracking.

This article describes the Device Tracker APIs using examples from the native Android and iOS SDKs. For more information on Unity, refer to the Device Tracking in Unity article. 

Positional device tracking uses Vuforia Fusion to provide the device's positional pose information relative to the world and other objects. Positional device tracking allows for features such as Ground Plane and Extended Tracking. It is enabled by the PositionalDeviceTracker class.

Device Tracking API

The DeviceTracker class tracks the pose of a device within a world coordinate system using data from the device's inertial sensors, camera, or platform enablers like ARKit and ARCore. 

Vuforia Image
The PositionalDeviceTracker, DeviceTrackable, and DeviceTrackableResult types

The PositionalDeviceTracker provide pose updates as a DeviceTrackableResult for a single DeviceTrackable instance. These Trackable Results are obtainable from the State object either by calling updateState() from the StateUpdater class instance on the TrackerManager, or from the State object returned by Renderer.begin().

Obtaining State from the StateUpdater:

const Vuforia::State state = Vuforia::TrackerManager::getInstance().getStateUpdater().updateState();

Learn More

For more information, refer to the Positional Device Tracker article.