Description
The TrackedDeviceRole.Waist
field is a member of the TrackedDeviceRole
enumeration within the Sandbox.VR
namespace. It represents a virtual reality tracked device role specifically for the waist. This can be used to identify and manage devices that are intended to track the waist position in a VR environment.
Usage
Use the TrackedDeviceRole.Waist
field when you need to specify or check for a device that is assigned to track the waist in a VR setup. This is particularly useful in applications that require full-body tracking or when implementing features that depend on the user's waist position.
Example
// Example of using TrackedDeviceRole.Waist
void CheckDeviceRole(TrackedDeviceRole role)
{
if (role == TrackedDeviceRole.Waist)
{
// Handle waist tracking logic
Console.WriteLine("Device is tracking the waist.");
}
}