This behaviour allows you to select one of the connected cameras (if more than one camera is connected) before loading the tracking configuration. More...
Inherits VLWorkerReferenceBehaviour.
Public Member Functions | |
void | StartTracking (string filename) |
Display the camera selection screen and starts the tracking using a vl-file after selecting a camera. More... | |
Data Fields | |
bool | showOnMobileDevices = false |
int | windowID = 0 |
A unique ID used for the selection window. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from VLWorkerReferenceBehaviour | |
bool | InitWorkerReference () |
Initializes the workerBehaviour and Worker member variables. More... | |
Protected Attributes inherited from VLWorkerReferenceBehaviour | |
VLWorker | worker |
VLWorkerBehaviour | workerBehaviour |
Reference to used VLWorkerBehaviour. More... | |
This behaviour allows you to select one of the connected cameras (if more than one camera is connected) before loading the tracking configuration.
This is just an example to show you how a camera selection could be implemented. Please feel free to write you own camera selection.
NOTICE: The camera selection will only work correctly, if the vl-file doesn't specify the "useImageSource" attribute.
|
inline |
Display the camera selection screen and starts the tracking using a vl-file after selecting a camera.
NOTICE: The camera selection will only work correctly, if the vl-file doesn't specify the "useImageSource" attribute.
int StartTrackingWithCameraSelectionBehaviour.windowID = 0 |
A unique ID used for the selection window.
Set this to a unique value, if you also use the GUI.Window or GUILayout.Window functions with the default ID.