Description
The TrackedDeviceType.Tracker
field represents a generic tracker device within the VR environment. This type is used to identify devices that are not specifically head-mounted displays, controllers, or base stations, but are instead used for tracking purposes, such as body trackers or other auxiliary tracking devices.
Usage
Use the TrackedDeviceType.Tracker
field when you need to identify or interact with generic tracking devices in your VR application. This can be useful for applications that require additional tracking beyond the standard headset and controllers, such as full-body tracking or custom input devices.
Example
// Example of using TrackedDeviceType.Tracker
void CheckDeviceType(TrackedDeviceType deviceType)
{
if (deviceType == TrackedDeviceType.Tracker)
{
// Handle logic for generic trackers
Log.Info("Device is a generic tracker.");
}
}