Wikitude Unity Expert Edition
|
An object target contains information about a tracked target. More...
Public Attributes | |
new string | Name => base.Name |
The name of the object target from the target collection. More... | |
new long | TargetId => base.TargetId |
The unique ID of the target. When tracking multiple targets with the same name, this can be used to distinguish between them. More... | |
Vector3 | Scale => _scale |
Normalized bounding box of the tracked target. One of the components is 1.0f, while the others will be between 0.0f, and 1.0f. Can be used to programmatically scale augmentations to fit targets. More... | |
Public Attributes inherited from Wikitude.RecognizedTarget | |
GameObject | Drawable |
A drawable is created when a tracker starts tracking and it should be used to place augmentations. A drawable is destroyed after a tracker loses the target. When a single target is tracked, the trackable is not moved. In case of multiple targets, one of the drawables is fixed, and the others are placed relative to it. More... | |
An object target contains information about a tracked target.
new string Wikitude.ObjectTarget.Name => base.Name |
The name of the object target from the target collection.
Vector3 Wikitude.ObjectTarget.Scale => _scale |
Normalized bounding box of the tracked target. One of the components is 1.0f, while the others will be between 0.0f, and 1.0f. Can be used to programmatically scale augmentations to fit targets.
new long Wikitude.ObjectTarget.TargetId => base.TargetId |
The unique ID of the target. When tracking multiple targets with the same name, this can be used to distinguish between them.