Loading...
Searching...
No Matches
ObserverBehaviour Class Referenceabstract

The base class of all observer behaviour components. Provides access to base functionality and information of the observer. More...

Inheritance diagram for ObserverBehaviour:
VuforiaMonoBehaviour AnchorBehaviour BarcodeBehaviour CloudRecoBehaviour DataSetTrackableBehaviour DevicePoseBehaviour AreaTargetBehaviour ScalableDataSetTrackableBehaviour ValidationAreaBehaviour CloudAreaTargetBehaviour CylinderTargetBehaviour ImageTargetBehaviour ModelTargetBehaviour MultiTargetBehaviour VuMarkBehaviour

Properties

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.
 

Events

Action< ObserverBehaviourOnBehaviourDestroyed
 Triggered when this behaviour is destroyed. Can be used for script cleanup.
 
Action< ObserverBehaviour, TargetStatusOnTargetStatusChanged
 Triggered when the TargetStatus changes.
 

Detailed Description

The base class of all observer behaviour components. Provides access to base functionality and information of the observer.

Property Documentation

◆ ID

int? ID
get

The runtime Id of the Observer.

◆ TargetName

string TargetName
get

Name of the target of the Observer.

◆ TargetStatus

Current status information of the target.

Event Documentation

◆ OnBehaviourDestroyed

Action<ObserverBehaviour> OnBehaviourDestroyed

Triggered when this behaviour is destroyed. Can be used for script cleanup.

◆ OnTargetStatusChanged

Action<ObserverBehaviour, TargetStatus> OnTargetStatusChanged

Triggered when the TargetStatus changes.