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 tracking data specific to the right wrist device.
Usage
Use the RightWrist
field 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 of body parts for interaction or simulation purposes.
Example
// Example of using TrackedDeviceRole.RightWrist
void CheckDeviceRole(TrackedDeviceRole role)
{
if (role == TrackedDeviceRole.RightWrist)
{
// Handle the right wrist device
// For example, update the position or orientation of a virtual hand
}
}