documentation

Visometry.VisionLib.SDK.Core.InputSourceSelection Class Reference

This behaviour is used by the TrackingConfiguration to enable to select the input source that is used for tracking. You can choose from a list of available devices or use the input defined in your tracking configuration. More...

Inherits MonoBehaviour.

Data Structures

class  InputSource
 

Public Member Functions

void Cancel ()
 
delegate void InputSelectedAction (InputSource inputSource)
 Delegate for OnInputSelected event.
 
void StartInputSelection (DeviceInfo deviceInfo, bool addResolutionSelection=false)
 

Events

VLSDK.VoidDelegate OnCanceled
 Event which will be emitted if the input selection has been aborted.
 
InputSelectedAction OnInputSelected
 Event which will be emitted after a device (and optionally the resolution) has been selected from the GUI. More...
 

Detailed Description

This behaviour is used by the TrackingConfiguration to enable to select the input source that is used for tracking. You can choose from a list of available devices or use the input defined in your tracking configuration.

Event Documentation

◆ OnInputSelected

InputSelectedAction Visometry.VisionLib.SDK.Core.InputSourceSelection.OnInputSelected

Event which will be emitted after a device (and optionally the resolution) has been selected from the GUI.

The returned InputSource object holds the selected deviceID and, if the resolution has been selected, the device format.