Wikitude Unity Plugin
Properties | List of all members
Wikitude.ObjectTracker Class Reference

Object Trackers are used to recognize and track objects defined in .wto files by using a TargetCollectionResource More...

Inheritance diagram for Wikitude.ObjectTracker:
Wikitude.TrackerBehaviour

Properties

TargetCollectionResource TargetCollectionResource [get, set]
 The Target Collection Resource that will load the .wto file that contains the objects that should be tracked. More...
 

Additional Inherited Members

- Public Attributes inherited from Wikitude.TrackerBehaviour
OnTargetsLoadedEvent OnTargetsLoaded = new OnTargetsLoadedEvent()
 Called when a tracker was successfully initialized. More...
 
OnErrorLoadingTargetsEvent OnErrorLoadingTargets = new OnErrorLoadingTargetsEvent()
 Called when the tracker could not be initialized.

Parameters
errorCodeThe error code associated with the error that occurred.
errorMessageA string that contains more information about why the tracker could not be initialized.
More...
 

Detailed Description

Object Trackers are used to recognize and track objects defined in .wto files by using a TargetCollectionResource

When Object Trackers are created at runtime, make sure that all the relevant properties are set before the OnEnable method is called by Unity. At OnEnable, the native tracker is created and all information needs to be available.

Property Documentation

TargetCollectionResource Wikitude.ObjectTracker.TargetCollectionResource
getset

The Target Collection Resource that will load the .wto file that contains the objects that should be tracked.