This class serves both as an augmentation definition for an ImageTarget in the editor as well as a tracked image target result at runtime. More...
Public Member Functions | |
| Texture2D | GetRuntimeTargetTexture () |
| Returns the texture that is assigned to this target during the authoring in the editor. | |
| 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 of this target has to be deactivated before setting the size. | |
| 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 of this target has to be deactivated before setting the size. | |
Properties | |
| ImageTargetType | ImageTargetType [get, set] |
| Type of image target: can be a user created target or a static one from a dataset or cloud reco. | |
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 an ImageTarget in the editor as well as a tracked image target result at runtime.
|
inline |
Returns the texture that is assigned to this target during the authoring in the editor.
|
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 of this target has to be deactivated before setting the size.
|
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 of this target has to be deactivated before setting the size.
|
getset |
Type of image target: can be a user created target or a static one from a dataset or cloud reco.