Wikitude Unity Plugin
|
Trackables are used by trackers to update 3D objects in Unity based on tracked targets. More...
Inherits MonoBehaviour.
Public Attributes | |
OnEnterFieldOfVisionEvent | OnEnterFieldOfVision = new OnEnterFieldOfVisionEvent() |
Called when a target is recognized and is withing the field of vision. More... | |
OnExitFieldOfVisionEvent | OnExitFieldOfVision = new OnExitFieldOfVisionEvent() |
Called when the tracked target exits the field of vision. More... | |
Properties | |
string | TargetPattern [get, set] |
Gets or sets the target pattern. More... | |
bool | ExtendedTracking [get] |
Toggles extended tracking. More... | |
string[] | TargetsForExtendedTracking [get, set] |
Specifies the targets that will be used for extended tracking. More... | |
Trackables are used by trackers to update 3D objects in Unity based on tracked targets.
When trackables are created at runtime, make sure that it is set as a child of the tracker responsible for the tracker and that the relevant properties are set before the Start function is called on the parent tracker. Trackables added after that will not work correctly.
OnEnterFieldOfVisionEvent Wikitude.TrackableBehaviour.OnEnterFieldOfVision = new OnEnterFieldOfVisionEvent() |
Called when a target is recognized and is withing the field of vision.
targetName | Name of the target from the collection that was recognized |
OnExitFieldOfVisionEvent Wikitude.TrackableBehaviour.OnExitFieldOfVision = new OnExitFieldOfVisionEvent() |
Called when the tracked target exits the field of vision.
///
targetName | Name of the target from the collection that was lost |
|
get |
Toggles extended tracking.
|
getset |
Gets or sets the target pattern.
Can contain * to mean zero or more of any character and ? to mean zero or one of any character.
|
getset |
Specifies the targets that will be used for extended tracking.
Can contain * to mean zero or more of any character and ? to mean zero or one of any character.
The targets for extended tracking.