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

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.InstantTrackable 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...
 
bool AutoToggleVisibility [get, set]
 Specifies whether the trackable is automatically enabled or disabled based on the visibility of the target. More...
 

Detailed Description

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

Property Documentation

bool Wikitude.Trackable.AutoToggleVisibility
getset

Specifies whether the trackable is automatically enabled or disabled based on the visibility of the target.

Setting this to false will enable you to control the visibility of the augmentation independent of the visibility of the target.

true if the the trackable should be toggled automatically based on the visibility of the target; otherwise, false.

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.