documentation

VLTrackedObjectBehaviour Class Reference

This behaviour fires UnityEvents for VLWorkerBehaviour.OnTrackingStates events. More...

Inherits MonoBehaviour.

Data Structures

class  OnCriticalEvent
 
class  OnLostEvent
 
class  OnTrackedEvent
 

Data Fields

OnTrackedEvent trackedEvent
 Event fired whenever the tracking state is "tracked". More...
 
OnTrackedEvent justTrackedEvent
 Event fired once after the tracking state changed to "tracked". More...
 
OnCriticalEvent criticalEvent
 Event fired whenever the tracking state is "critical". More...
 
OnCriticalEvent justCriticalEvent
 Event fired once after the tracking state changed to "critical". More...
 
OnLostEvent lostEvent
 Event fired whenever the tracking state is "lost". More...
 
OnLostEvent justLostEvent
 Event fired once after the tracking state changed to "lost". More...
 

Detailed Description

This behaviour fires UnityEvents for VLWorkerBehaviour.OnTrackingStates events.

This could for example be used to activate / disable certain GameObjects depending on the current tracking state.

Field Documentation

◆ criticalEvent

OnCriticalEvent VLTrackedObjectBehaviour.criticalEvent

Event fired whenever the tracking state is "critical".

◆ justCriticalEvent

OnCriticalEvent VLTrackedObjectBehaviour.justCriticalEvent

Event fired once after the tracking state changed to "critical".

◆ justLostEvent

OnLostEvent VLTrackedObjectBehaviour.justLostEvent

Event fired once after the tracking state changed to "lost".

◆ justTrackedEvent

OnTrackedEvent VLTrackedObjectBehaviour.justTrackedEvent

Event fired once after the tracking state changed to "tracked".

◆ lostEvent

OnLostEvent VLTrackedObjectBehaviour.lostEvent

Event fired whenever the tracking state is "lost".

◆ trackedEvent

OnTrackedEvent VLTrackedObjectBehaviour.trackedEvent

Event fired whenever the tracking state is "tracked".