All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Modules Pages
Loading...
Searching...
No Matches
ImageTargetBehaviour Class Reference

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...

Inheritance diagram for ImageTargetBehaviour:
ScalableDataSetTrackableBehaviour DataSetTrackableBehaviour ObserverBehaviour VuforiaMonoBehaviour

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< ObserverBehaviourOnBehaviourDestroyed
 Triggered when this behaviour is destroyed. Can be used for script cleanup.
 
Action< ObserverBehaviour, TargetStatusOnTargetStatusChanged
 Triggered when the TargetStatus changes.
 

Detailed Description

This class serves both as an augmentation definition for an ImageTarget in the editor as well as a tracked image target result at runtime.

Member Function Documentation

◆ GetRuntimeTargetTexture()

Texture2D GetRuntimeTargetTexture ( )
inline

Returns the texture that is assigned to this target during the authoring in the editor.

◆ GetSize()

Vector2 GetSize ( )
inline

Returns the size of this target in scene units.

◆ GetTrackingOptimization()

TrackingOptimization GetTrackingOptimization ( )
inline

Get the tracking optimization.

◆ SetHeight()

void SetHeight ( float height)
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.

◆ SetTrackingOptimization()

bool SetTrackingOptimization ( TrackingOptimization optimization)
inline

Set the tracking optimization.

◆ SetWidth()

void SetWidth ( float width)
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.

Property Documentation

◆ ImageTargetType

Type of image target: can be a user created target or a static one from a dataset or cloud reco.