List<VRHandJointData> GetJointData()

book_4_sparkGenerated
code_blocksInput

Description

The GetJointData method of the VRController class is used to retrieve a list of joint data for the VR hand. This method is marked as obsolete, and it is recommended to use the GetJoints() method instead.

Usage

To use the GetJointData method, simply call it on an instance of the VRController class. However, since this method is obsolete, it is advisable to transition to using GetJoints() for future-proofing your code.

Example

// Example of using the obsolete GetJointData method
VRController controller = new VRController();
List<VRHandJointData> jointData = controller.GetJointData();

// Recommended usage with GetJoints
VRHandJointData[] joints = controller.GetJoints(MotionRange.WithController);