C++ Java Unity
Unity Reference
DeviceTrackerARController Class Reference

This is the main behaviour class that manages the device tracker More...

Inheritance diagram for DeviceTrackerARController:
ARController

Public Member Functions

void RegisterBeforeDevicePoseUpdateCallback (Action callback)
 Register a callback that is invoked right before the device tracking pose (i.e. head tracking) is applied in the scene More...
 
void RegisterDevicePoseStatusChangedCallback (Action< TrackableBehaviour.Status > callback)
 Register an action for the status changed callback. This callback whenever the tracker status changes. For example from "UNKNOWN" to "TRACKED", More...
 
void RegisterDevicePoseStatusChangedCallback (Action< TrackableBehaviour.Status, TrackableBehaviour.StatusInfo > callback)
 Register an action for the status changed callback. This callback whenever the tracker status or status info changes. For example from "UNKNOWN" to "TRACKED", More...
 
void RegisterDevicePoseUpdatedCallback (Action callback)
 Register a callback that is invoked after the device tracking pose (i.e. head tracking) has been updated, but before any other trackables have been updated in the scene. For a callback after all trackables have been updated, please use VuforiaBehaviour.RegisterTrackablesUpdatedCallback. More...
 
void RegisterTrackerStartedCallback (Action callback)
 Registers a callback that is called when the tracker has been started More...
 
void UnregisterBeforeDevicePoseUpdateCallback (Action callback)
 Unregisters a previously registered callback More...
 
void UnregisterDevicePoseStatusChangedCallback (Action< TrackableBehaviour.Status > callback)
 Unregister the Status change callback More...
 
void UnregisterDevicePoseStatusChangedCallback (Action< TrackableBehaviour.Status, TrackableBehaviour.StatusInfo > callback)
 Unregister the Status change callback More...
 
void UnregisterDevicePoseUpdatedCallback (Action callback)
 Unregisters a previously registered callback More...
 
void UnregisterTrackerStartedCallback (Action callback)
 Unregisters a previously registered callback More...
 

Static Public Member Functions

static void RegisterARController ()
 

Static Public Attributes

static readonly Vector3 DEFAULT_HANDHELD_PIVOT = new Vector3(0.0f, 0.0f, 0.264f)
 This is the default pivot point for the handheld model correction mode. More...
 
static readonly Vector3 DEFAULT_HEAD_PIVOT = new Vector3(0.0f, 0.075f, 0.12f)
 This is the default pivot point for the head model correction mode. More...
 

Properties

static DeviceTrackerARController Instance [get]
 

Detailed Description

This is the main behaviour class that manages the device tracker

Member Function Documentation

static void RegisterARController ( )
static
void RegisterBeforeDevicePoseUpdateCallback ( Action  callback)

Register a callback that is invoked right before the device tracking pose (i.e. head tracking) is applied in the scene

>

void RegisterDevicePoseStatusChangedCallback ( Action< TrackableBehaviour.Status callback)

Register an action for the status changed callback. This callback whenever the tracker status changes. For example from "UNKNOWN" to "TRACKED",

Parameters
callback
void RegisterDevicePoseStatusChangedCallback ( Action< TrackableBehaviour.Status, TrackableBehaviour.StatusInfo callback)

Register an action for the status changed callback. This callback whenever the tracker status or status info changes. For example from "UNKNOWN" to "TRACKED",

Parameters
callback
void RegisterDevicePoseUpdatedCallback ( Action  callback)

Register a callback that is invoked after the device tracking pose (i.e. head tracking) has been updated, but before any other trackables have been updated in the scene. For a callback after all trackables have been updated, please use VuforiaBehaviour.RegisterTrackablesUpdatedCallback.

void RegisterTrackerStartedCallback ( Action  callback)

Registers a callback that is called when the tracker has been started

void UnregisterBeforeDevicePoseUpdateCallback ( Action  callback)

Unregisters a previously registered callback

void UnregisterDevicePoseStatusChangedCallback ( Action< TrackableBehaviour.Status callback)

Unregister the Status change callback

Parameters
callback
void UnregisterDevicePoseStatusChangedCallback ( Action< TrackableBehaviour.Status, TrackableBehaviour.StatusInfo callback)

Unregister the Status change callback

Parameters
callback
void UnregisterDevicePoseUpdatedCallback ( Action  callback)

Unregisters a previously registered callback

void UnregisterTrackerStartedCallback ( Action  callback)

Unregisters a previously registered callback

Member Data Documentation

readonly Vector3 DEFAULT_HANDHELD_PIVOT = new Vector3(0.0f, 0.0f, 0.264f)
static

This is the default pivot point for the handheld model correction mode.

This value is defined in meters. If the scene is scaled to a different unit it is necessary to define a custom pivot point in the same unit.

readonly Vector3 DEFAULT_HEAD_PIVOT = new Vector3(0.0f, 0.075f, 0.12f)
static

This is the default pivot point for the head model correction mode.

This value is defined in meters. If the scene is scaled to a different unit it is necessary to define a custom pivot point in the same unit.

Property Documentation

DeviceTrackerARController Instance
staticget