C++ Java Unity
Unity Reference
StateManager Class Reference

This class is used to manage the state of all TrackableBehaviours, create them, associate them with Trackables, update their pose, etc. More...

Public Member Functions

void DestroyTrackableBehavioursForTrackable (Trackable trackable, bool destroyGameObjects=true)
 Destroys all the TrackableBehaviours for the given Trackable More...
 
IEnumerable< TrackableBehaviourGetActiveTrackableBehaviours ()
 Returns the TrackableBehaviours currently being tracked More...
 
IlluminationManager GetIlluminationManager ()
 Returns the IlluminationManager which provides data on estimated illumination of the current frame More...
 
IEnumerable< TrackableBehaviourGetTrackableBehaviours ()
 Returns all currently instantiated TrackableBehaviours More...
 
VuMarkManager GetVuMarkManager ()
 Returns the VuMark manager instance that can be used to access all available VuMark-templates and all currently tracked VuMarks. More...
 
void ReassociateTrackables ()
 Removes destroyed behaviours from trackable list and associates newly created behaviours with trackables More...
 

Detailed Description

This class is used to manage the state of all TrackableBehaviours, create them, associate them with Trackables, update their pose, etc.

Member Function Documentation

void DestroyTrackableBehavioursForTrackable ( Trackable  trackable,
bool  destroyGameObjects = true 
)

Destroys all the TrackableBehaviours for the given Trackable

IEnumerable<TrackableBehaviour> GetActiveTrackableBehaviours ( )

Returns the TrackableBehaviours currently being tracked

IlluminationManager GetIlluminationManager ( )

Returns the IlluminationManager which provides data on estimated illumination of the current frame

Returns
IEnumerable<TrackableBehaviour> GetTrackableBehaviours ( )

Returns all currently instantiated TrackableBehaviours

VuMarkManager GetVuMarkManager ( )

Returns the VuMark manager instance that can be used to access all available VuMark-templates and all currently tracked VuMarks.

Returns
void ReassociateTrackables ( )

Removes destroyed behaviours from trackable list and associates newly created behaviours with trackables

This affects all types of trackables, including VuMarks