Provides functions to perform hit tests and create anchors in the world. More...
Public Member Functions | |
| IEnumerable< ObserverBehaviour > | GetObserverBehaviours () |
| Get all the ObserverBehaviours currently in the scene. | |
| IEnumerable< T > | GetObserverBehaviours< T > () |
| Get all the ObserverBehaviours of type T currently in the scene. | |
| IEnumerable< ObserverBehaviour > | GetTrackedObserverBehaviours () |
| Get all the ObserverBehaviours in the scene that are currently tracked. | |
| IEnumerable< T > | GetTrackedObserverBehaviours< T > () |
| Get all the ObserverBehaviours of type T in the scene that are currently tracked. | |
| bool | HitTest (Vector2 imageSpacePos, float defaultHeight, out HitTestResult hitTestResult) |
| Perform a hit test in the world. The result is always of the first plane that is intersected with. | |
Properties | |
| bool | AnchorsSupported [get] |
| Returns true if anchors and hit test are supported. | |
| IlluminationData | IlluminationData [get] |
| Provides data on the estimated illumination values in the current frame such as illumination intensity or ambient light color temperature. | |
Events | |
| Action< ObserverBehaviour > | OnObserverCreated |
| Called whenever an observer is newly discovered by Vuforia. This can happen with VuMarks, CloudReco, Anchors or Barcodes. | |
| Action< ObserverBehaviour > | OnObserverDestroyed |
| Called whenever an observer tracked by Vuforia is lost. This can happen with VuMarks, CloudReco, Anchors or Barcodes. | |
| Action | OnStateUpdated |
| Updated whenever a new state of the world has been processed. | |
Provides functions to perform hit tests and create anchors in the world.
|
inline |
Get all the ObserverBehaviours currently in the scene.
|
inline |
Get all the ObserverBehaviours of type T currently in the scene.
| T | Type of the ObserverBehaviour |
| T | : | ObserverBehaviour |
|
inline |
Get all the ObserverBehaviours in the scene that are currently tracked.
|
inline |
Get all the ObserverBehaviours of type T in the scene that are currently tracked.
| T | Type of the ObserverBehaviour |
| T | : | ObserverBehaviour |
|
inline |
Perform a hit test in the world. The result is always of the first plane that is intersected with.
| imageSpacePos | The 2d position of the hit test in image space |
| defaultHeight | The assumed height of the device whe performing the hit test is usually 1.4m |
| hitTestResult | Result of the hit test. If an intersection with a plane was detected, it's reflected here' |
|
get |
Returns true if anchors and hit test are supported.
Provides data on the estimated illumination values in the current frame such as illumination intensity or ambient light color temperature.
| Action<ObserverBehaviour> OnObserverCreated |
Called whenever an observer is newly discovered by Vuforia. This can happen with VuMarks, CloudReco, Anchors or Barcodes.
| Action<ObserverBehaviour> OnObserverDestroyed |
Called whenever an observer tracked by Vuforia is lost. This can happen with VuMarks, CloudReco, Anchors or Barcodes.
| Action OnStateUpdated |
Updated whenever a new state of the world has been processed.