The VLDebugImageBehaviour can be used to visualize debug images using the Unity GUI system.
More...
Inherits VLWorkerReferenceBehaviour.
|
static readonly string [][] | keys |
| Array with available internal image keys for different trackers. More...
|
|
static readonly string [][] | labels |
| Array with labels for the available internal image keys. More...
|
|
The VLDebugImageBehaviour can be used to visualize debug images using the Unity GUI system.
Please use the VLDebugImage prefab. It will ensure the correct object hierarchy.
◆ Tracker
Enumerator |
---|
Undefined | |
ModelTracker_v1 | |
HololensModelTracker_v1 | |
◆ ToggleDebugImageVisibility()
void VLDebugImageBehaviour.ToggleDebugImageVisibility |
( |
| ) |
|
|
inline |
Turns the debug image on or off Triggered with voice command
◆ id
string VLDebugImageBehaviour.id = "CurrentImageRGBA" |
◆ imageObject
GameObject VLDebugImageBehaviour.imageObject |
Target object with the RawImage component for displaying the debug image.
◆ keys
readonly string [][] VLDebugImageBehaviour.keys |
|
static |
Initial value:= new string[][]
{
new string[]
{
""
},
new string[]
{
"LineTrackerDebugImage1",
"LineTrackerDebugImage0",
"CurrentImageRGBA"
},
new string[]
{
"LineTrackerDebugImage1",
"LineTrackerDebugImage0",
"CurrentImageRGBADisplay"
}
}
Array with available internal image keys for different trackers.
◆ labels
readonly string [][] VLDebugImageBehaviour.labels |
|
static |
Initial value:= new string[][]
{
new string[]
{
""
},
new string[]
{
"LineTracker_Coarse",
"LineTracker_Fine",
"CameraImage"
},
new string[]
{
"LineTracker_Coarse",
"LineTracker_Fine",
"CameraImage"
}
}
Array with labels for the available internal image keys.
◆ tracker
Used tracking method.
Using Tracker.Undefined allows you to manually enter an internal image key. Please notice, that the image keys might change in future. Therefore you might want to stick to defined tracking methods and the corresponding image labels.