Wikitude Unity Expert Edition
Properties | List of all members
Wikitude.Trackable Class Referenceabstract

Base class for trackable classes. Intended for internal use only and should not be derived from. More...

Inheritance diagram for Wikitude.Trackable:
Wikitude.ImageTrackable Wikitude.ObjectTrackable

Properties

string TargetPattern [get, set]
 Gets or sets the target pattern that identify which targets from the collection should be used for this trackable. More...
 
GameObject Drawable [get, set]
 Gets or sets the drawable that should be instantiated when a new target is recognized. In case the tracker for this trackable can track multiple targets, multiple instances of this drawable will be created. When the target corresponding to an instantiated drawable is lost, the drawable is destroyed with it. If the drawable is set to null, an empty GameObject will be created instead. You can access this GameObject through the Drawable property of the Target parameter that gets passed in an OnRecognized callback. More...
 

Detailed Description

Base class for trackable classes. Intended for internal use only and should not be derived from.

Property Documentation

GameObject Wikitude.Trackable.Drawable
getset

Gets or sets the drawable that should be instantiated when a new target is recognized. In case the tracker for this trackable can track multiple targets, multiple instances of this drawable will be created. When the target corresponding to an instantiated drawable is lost, the drawable is destroyed with it. If the drawable is set to null, an empty GameObject will be created instead. You can access this GameObject through the Drawable property of the Target parameter that gets passed in an OnRecognized callback.

string Wikitude.Trackable.TargetPattern
getset

Gets or sets the target pattern that identify which targets from the collection should be used for this trackable.

Can contain * to mean zero or more of any character and ? to mean zero or one of any character.