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. | |
Vector2 | GetSize () |
Returns the size of this target in scene units. | |
TrackingOptimization | GetTrackingOptimization () |
Get the tracking optimization. | |
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. | |
bool | SetTrackingOptimization (TrackingOptimization optimization) |
Set the tracking optimization. | |
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. | |
Properties | |
VuMarkInstanceId | InstanceId [get] |
The InstanceId contains the id for a particular VuMark. | |
Image | InstanceImage [get] |
Returns the generated image of the detected VuMark. | |
Vector2 | Origin [get] |
Returns the size-scaled origin of the VuMark. | |
bool | TrackingFromRuntimeAppearance [get, set] |
Sets or gets whether the VuMark has a changing background per instance, signaling to SDK how to track it. | |
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. | |
Properties inherited from ObserverBehaviour | |
int? | ID [get] |
The runtime Id of the Observer. | |
string | TargetName [get] |
Name of the target of the Observer. | |
TargetStatus | TargetStatus = TargetStatus.NotObserved [get] |
Current status information of the target. | |
Additional Inherited Members | |
Events inherited from ObserverBehaviour | |
Action< ObserverBehaviour > | OnBehaviourDestroyed |
Triggered when this behaviour is destroyed. Can be used for script cleanup. | |
Action< ObserverBehaviour, TargetStatus > | OnTargetStatusChanged |
Triggered when the TargetStatus changes. | |
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.