Tracking anchor that is used to control references like the visualization model and WorkSpaces for different anchors in multi model tracking. THIS IS SUBJECT TO CHANGE Please do not rely on this code in productive environments. More...
Inherits Visometry.VisionLib.SDK.Core.TrackingManagerReference.
Public Member Functions | |
void | AnchorResetHardAnchor () |
Resets the tracking for this anchor. More... | |
void | AnchorSetAttribute (string attributeName, string value) |
Sets an attribute to the given value for this anchor More... | |
async Task | AnchorSetAttributeAsync (string attributeName, string value) |
void | AnchorSetModelPropertyEnabled (string name, bool state) |
Enables/Disables a specific model for this anchor More... | |
async Task | AnchorSetModelPropertyEnabledAsync (string name, bool state) |
void | AnchorSetModelPropertyOccluder (string name, bool state) |
Sets a specific model as occluder for this anchor More... | |
async Task | AnchorSetModelPropertyOccluderAsync (string name, bool state) |
Data Fields | |
string | anchorName |
Unique name that represents the tracking anchors name in the vl file. | |
GameObject | augmentation |
Reference to the model that should be used for augmenting the tracking target. | |
float | smoothTime = 0f |
Interpolation time to apply updates to the augmentation Transform. More... | |
WorkSpace[] | workSpaces |
List of WorkSpaces that are used to initialize the tracking target. | |
Additional Inherited Members | |
Protected Member Functions inherited from Visometry.VisionLib.SDK.Core.TrackingManagerReference | |
virtual bool | InitWorkerReference () |
Initializes the trackingManager and Worker member variables. More... | |
virtual void | ResetReference () |
Properties inherited from Visometry.VisionLib.SDK.Core.TrackingManagerReference | |
TrackingManager | trackingManager [get] |
Reference to used TrackingManager. More... | |
Worker | worker [get] |
Tracking anchor that is used to control references like the visualization model and WorkSpaces for different anchors in multi model tracking. THIS IS SUBJECT TO CHANGE Please do not rely on this code in productive environments.
|
inline |
Resets the tracking for this anchor.
This function will be performed asynchronously.
|
inline |
Sets an attribute to the given value for this anchor
This function will be performed asynchronously.
attributeName | Name of the attribute |
value | New value for this attribute |
|
inline |
Enables/Disables a specific model for this anchor
This function will be performed asynchronously.
name | Name of the model |
state | Enabled (true/false) |
|
inline |
Sets a specific model as occluder for this anchor
This function will be performed asynchronously.
name | Name of the model |
state | Occluder (true/false) |
float Visometry.VisionLib.SDK.Core.TrackingAnchor.smoothTime = 0f |
Interpolation time to apply updates to the augmentation Transform.
Set to 0 to directly apply tracking results without smoothing.