C++ Java Unity
Unity Reference
CloudRecoBehaviour Class Reference

This is the main behaviour class that encapsulates cloud recognition behaviour. It just has to be added to a Vuforia-enabled Unity scene and will initialize the target finder and wait for new results. State changes and new results will be sent to registered ICloudRecoEventHandlers More...

Inheritance diagram for CloudRecoBehaviour:
ObjectRecoBehaviour VuforiaMonoBehaviour

Public Attributes

string AccessKey = ""
 
string SecretKey = ""
 

Properties

bool CloudRecoEnabled [get, set]
 Whether cloud has been enabled in the menu More...
 
bool CloudRecoInitialized [get]
 Whether cloud reco has been initialized yet. More...
 
- Properties inherited from ObjectRecoBehaviour
bool RecoEnabled [get, set]
 If cloud has been enabled in the menu More...
 
bool RecoInitialized [get]
 If cloud reco has been initialized yet More...
 

Additional Inherited Members

- Public Member Functions inherited from ObjectRecoBehaviour
void RegisterOnInitErrorEventHandler (Action< TargetFinder.InitState > handler)
 Register for event that's called when an error is reported during initialization More...
 
void RegisterOnInitializedEventHandler (Action< TargetFinder > handler)
 Register for event that's called when the RecoBehaviour has finished initializing More...
 
void RegisterOnNewSearchResultEventHandler (Action< TargetFinder.TargetSearchResult > handler)
 Register for event that's called when a new search result is found More...
 
void RegisterOnStateChangedEventHandler (Action< bool > handler)
 Register for event that's called when the RecoBehaviour starts or stops scanning More...
 
void RegisterOnUpdateErrorEventHandler (Action< TargetFinder.UpdateState > handler)
 Register for event that's called when an error is reported while updating More...
 
bool UnregisterOnInitErrorEventHandler (Action< TargetFinder.InitState > handler)
 Unregister from event that's called when an error is reported during initialization More...
 
bool UnregisterOnInitializedEventHandler (Action< TargetFinder > handler)
 Unregister from event that's called when the RecoBehaviour has finished initializing More...
 
bool UnregisterOnNewSearchResultEventHandler (Action< TargetFinder.TargetSearchResult > handler)
 Unregister from event that's called when a new search result is found More...
 
bool UnregisterOnStateChangedEventHandler (Action< bool > handler)
 Unregister from event that's called when the RecoBehaviour starts or stops scanning More...
 
bool UnregisterOnUpdateErrorEventHandler (Action< TargetFinder.UpdateState > handler)
 Unregister from event that's called when an error is reported while updating More...
 

Detailed Description

This is the main behaviour class that encapsulates cloud recognition behaviour. It just has to be added to a Vuforia-enabled Unity scene and will initialize the target finder and wait for new results. State changes and new results will be sent to registered ICloudRecoEventHandlers

Member Data Documentation

string AccessKey = ""
string SecretKey = ""

Property Documentation

bool CloudRecoEnabled
getset

Whether cloud has been enabled in the menu

bool CloudRecoInitialized
get

Whether cloud reco has been initialized yet.