This class serves both as an augmentation definition for a VuMark in the editor as well as a tracked VuMark result at runtime More...
Public Member Functions | |
void | CleanUntrackedBehavioursCache () |
Clean the cache of previously seen VuMark instances that are not actively tracked now. More... | |
Vector2 | GetSize () |
Returns the size of this target in scene units More... | |
TrackingOptimization | GetTrackingOptimization () |
Get the tracking optimization More... | |
void | SetHeight (float height) |
Set the height (y-dimension) of the target in scene units. This will scale the target uniformly. The dataset has to be deactivated before changing the size. Make sure to set the same size for all instantiated behaviours of the same VuMark-template More... | |
bool | SetTrackingOptimization (TrackingOptimization optimization) |
Set the tracking optimization More... | |
void | SetWidth (float width) |
Set the width (x-dimension) of the target in scene units. This will scale the target uniformly. The dataset has to be deactivated before changing the size. Make sure to set the same size for all instantiated behaviours of the same VuMark-template More... | |
Properties | |
VuMarkInstanceId | InstanceId [get] |
The InstanceId contains the id for a particular VuMark. More... | |
Image | InstanceImage [get] |
Returns the generated image of the detected VuMark. More... | |
Vector2 | Origin [get] |
Returns the size-scaled origin of the VuMark More... | |
bool | TrackingFromRuntimeAppearance [get, set] |
Sets or gets whether the VuMark has a changing background per instance, signaling to SDK how to track it. More... | |
string | VuMarkUserData [get] |
Gets the user data associated with this template that comes from the dataset. If there is no VuMark use data associated with this template, an empty string is returned. More... | |
![]() | |
TargetStatus | TargetStatus [get] |
Current status information of the target More... | |
Additional Inherited Members | |
![]() | |
int | ID => mObserver?.Id |
The runtime Id of the Observer More... | |
string | TargetName => mTrackableName |
Name of the target of the Observer More... | |
![]() | |
Action< ObserverBehaviour > | OnBehaviourDestroyed |
Triggered when this behaviour is destroyed. Can be used for script cleanup More... | |
Action< ObserverBehaviour, TargetStatus > | OnTargetStatusChanged |
Triggered when the TargetStatus changes More... | |
This class serves both as an augmentation definition for a VuMark in the editor as well as a tracked VuMark result at runtime
|
inline |
Clean the cache of previously seen VuMark instances that are not actively tracked now.
The cache is automatically cleaned whenever Vuforia is paused or when the authored VuMarkBehaviour that is being used as a template for all instances is disabled,
|
inline |
Returns the size of this target in scene units
|
inline |
Get the tracking optimization
|
inline |
Set the height (y-dimension) of the target in scene units. This will scale the target uniformly. The dataset has to be deactivated before changing the size. Make sure to set the same size for all instantiated behaviours of the same VuMark-template
|
inline |
Set the tracking optimization
|
inline |
Set the width (x-dimension) of the target in scene units. This will scale the target uniformly. The dataset has to be deactivated before changing the size. Make sure to set the same size for all instantiated behaviours of the same VuMark-template
|
get |
The InstanceId contains the id for a particular VuMark.
|
get |
Returns the generated image of the detected VuMark.
|
get |
Returns the size-scaled origin of the VuMark
|
getset |
Sets or gets whether the VuMark has a changing background per instance, signaling to SDK how to track it.
Setting TrackingFromRuntimeAppearance to true indicates that the SDK should track this type of VuMark based on what is seen by the camera and not assume the template background image is useful for tracking because the background can change per instance. Setting TrackingFromRuntimeAppearance to false indicates that the SDK should track this type of VuMark based on VuMark Template used to create the dataset. This is the default behavior.
|
get |
Gets the user data associated with this template that comes from the dataset. If there is no VuMark use data associated with this template, an empty string is returned.