robot_2Generated
code_blocksInput

Description

The TrackedDeviceRole.Chest field is a member of the TrackedDeviceRole enumeration within the Sandbox.VR namespace. It represents a virtual reality tracked device role specifically for the chest. This can be used to identify and manage VR devices that are intended to be worn or tracked at the chest level.

Usage

Use the TrackedDeviceRole.Chest field when you need to specify or check for a device that is associated with the chest in a VR setup. This is particularly useful in applications that require precise body tracking for enhanced immersion or interaction.

Example

// Example of using TrackedDeviceRole.Chest

void CheckDeviceRole(TrackedDeviceRole role)
{
    if (role == TrackedDeviceRole.Chest)
    {
        // Handle chest-specific logic
        // For example, adjust the VR experience based on chest position
    }
}