List<VRHandJointData> GetJointData()

robot_2Generated
code_blocksInput

Description

The GetJointData method retrieves a list of joint data for the VR hand associated with this controller. This method is marked as obsolete and it is recommended to use GetJoints() instead for obtaining joint data.

Usage

To retrieve joint data for a VR hand, use the GetJoints() method instead of GetJointData. The GetJointData method is deprecated and may be removed in future versions.

Example

// Example of using the recommended method
var vrController = new VRController();
var jointData = vrController.GetJoints(MotionRange.WithinBounds);

// Process joint data
foreach (var joint in jointData)
{
    // Access joint properties
    var position = joint.Position;
    var rotation = joint.Rotation;
    // Perform operations with joint data
}