C API Unity API
Unity API Reference (Version 10.22.5)
MultiTargetBehaviour Class Reference

This class serves both as an augmentation definition for a MultiTarget in the editor as well as a tracked MultiTarget result at runtime More...

Inheritance diagram for MultiTargetBehaviour:
ScalableDataSetTrackableBehaviour DataSetTrackableBehaviour ObserverBehaviour VuforiaMonoBehaviour

Public Member Functions

Vector3 GetSize ()
 Returns the size of the target (in 3D scene units). More...
 
TrackingOptimization GetTrackingOptimization ()
 Get the tracking optimization More...
 
bool SetSize (Vector3 size)
 Sets the size of the target (in 3D scene units). This is only allowed when the dataset is not active! More...
 
bool SetTrackingOptimization (TrackingOptimization optimization)
 Set the tracking optimization More...
 

Additional Inherited Members

- Public Attributes inherited from ObserverBehaviour
int ID => mObserver?.Id
 The runtime Id of the Observer More...
 
string TargetName => mTrackableName
 Name of the target of the Observer More...
 
- Properties inherited from ObserverBehaviour
TargetStatus TargetStatus [get]
 Current status information of the target More...
 
- Events inherited from ObserverBehaviour
Action< ObserverBehaviourOnBehaviourDestroyed
 Triggered when this behaviour is destroyed. Can be used for script cleanup More...
 
Action< ObserverBehaviour, TargetStatusOnTargetStatusChanged
 Triggered when the TargetStatus changes More...
 

Detailed Description

This class serves both as an augmentation definition for a MultiTarget in the editor as well as a tracked MultiTarget result at runtime

Member Function Documentation

◆ GetSize()

Vector3 GetSize ( )
inline

Returns the size of the target (in 3D scene units).

◆ GetTrackingOptimization()

TrackingOptimization GetTrackingOptimization ( )
inline

Get the tracking optimization

◆ SetSize()

bool SetSize ( Vector3  size)
inline

Sets the size of the target (in 3D scene units). This is only allowed when the dataset is not active!

◆ SetTrackingOptimization()

bool SetTrackingOptimization ( TrackingOptimization  optimization)
inline

Set the tracking optimization