documentation

Visometry.VisionLib.SDK.HoloLens.HoloLensTracker Class Reference

Manages the model-based initialization of the HoloLens tracking. More...

Inherits Visometry.VisionLib.SDK.Core.TrackingManagerReference.

Public Member Functions

void SetContent (GameObject newContent)
 Set the content that is used as the augmentation for the holoLens tracking and switch the model which is attached to the camera when in init mode.
 

Data Fields

GameObject content
 GameObject with the AR content attached to it. More...
 
GameObject holoLensCamera
 The GameObject representing the HoloLens camera. More...
 
float smoothTime = 0.03f
 

Additional Inherited Members

- Protected Member Functions inherited from Visometry.VisionLib.SDK.Core.TrackingManagerReference
virtual bool InitWorkerReference ()
 Initializes the trackingManager and Worker member variables. More...
 
virtual void ResetReference ()
 
- Properties inherited from Visometry.VisionLib.SDK.Core.TrackingManagerReference
TrackingManager trackingManager [get]
 Reference to used TrackingManager. More...
 
Worker worker [get]
 

Detailed Description

Manages the model-based initialization of the HoloLens tracking.

Right now this behaviour only works correctly, if there also is an enabled HoloLensInitCamera somewhere in the scene.

Field Documentation

◆ content

GameObject Visometry.VisionLib.SDK.HoloLens.HoloLensTracker.content

GameObject with the AR content attached to it.

Any existing transformation of the content GameObject will get overwritten. If you need to transform the content, then please add a child GameObject and apply the transformation to it instead.

◆ holoLensCamera

GameObject Visometry.VisionLib.SDK.HoloLens.HoloLensTracker.holoLensCamera

The GameObject representing the HoloLens camera.

If this is not defined, then the HoloLensTracker tries to find the camera automatically. It will first try to find a camera component on the current GameObject. Then it will use the main camera. If this also fails, it will use any camera available in the current scene.