robot_2Generated
code_blocksInput

Description

The RightWrist field is a member of the TrackedDeviceRole enumeration within the Sandbox.VR namespace. It represents the role of a tracked device that is associated with the right wrist in a virtual reality environment. This can be used to identify and manage input or interactions coming from a device worn on the right wrist.

Usage

Use the TrackedDeviceRole.RightWrist enumeration value when you need to specify or check the role of a VR device that is intended to be used on the right wrist. This is particularly useful in applications that require precise tracking and interaction based on the position of the user's limbs.

Example

// Example of using TrackedDeviceRole.RightWrist

void HandleDeviceRole(TrackedDeviceRole role)
{
    if (role == TrackedDeviceRole.RightWrist)
    {
        // Handle the right wrist device
        // For example, update the position of a virtual watch
    }
}