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.
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.
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 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);