replace all mentions of FXRMotionControllerData with FXRHandTrackingState in code comments

This commit is contained in:
Mamadou Babaei
2026-02-19 10:14:58 +01:00
parent 8b44f70332
commit c712fb428a
2 changed files with 10 additions and 10 deletions
@@ -65,11 +65,11 @@ struct SENSEGLOVESETTINGS_API FSGVirtualHandMeshSettings
public:
/**
* The virtual hand model for the left hand is to be used by the SenseGlove Tracking module to generate all the 26
* joint data present in the FXRMotionControllerData. The main reason the Tracking module requires a virtual hand
* joint data present in the FXRHandTrackingState. The main reason the Tracking module requires a virtual hand
* mesh as a reference is the SenseGlove Hand Pose format only provides 15 joints. So, the remaining joint data for
* FXRMotionControllerData are calculated from a virtual hand mesh compatible with the Epic rig and also the values
* FXRHandTrackingState are calculated from a virtual hand mesh compatible with the Epic rig and also the values
* specified by DistalPhalangesLengthSettings. Furthermore, when calculating the existing joints data, their
* current locations and rotations are taken into account in calculating the resulting FXRMotionControllerData.
* current locations and rotations are taken into account in calculating the resulting FXRHandTrackingState.
*
* By default, no virtual hand mesh is set.
*
@@ -84,11 +84,11 @@ public:
/**
* The virtual hand model for the right hand is to be used by the SenseGlove Tracking module to generate all the 26
* joint data present in the FXRMotionControllerData. The main reason the Tracking module requires a virtual hand
* joint data present in the FXRHandTrackingState. The main reason the Tracking module requires a virtual hand
* mesh as a reference is the SenseGlove Hand Pose format only provides 15 joints. So, the remaining joint data for
* FXRMotionControllerData are calculated from a virtual hand mesh compatible with the Epic rig and also the values
* FXRHandTrackingState are calculated from a virtual hand mesh compatible with the Epic rig and also the values
* specified by DistalPhalangesLengthSettings. Furthermore, when calculating the existing joints data, their
* current locations and rotations are taken into account in calculating the resulting FXRMotionControllerData.
* current locations and rotations are taken into account in calculating the resulting FXRHandTrackingState.
*
* By default, no virtual hand mesh is set.
*
@@ -104,7 +104,7 @@ public:
/**
* The length of distal phalanges that cannot be retrieved from any virtual hand mesh compliant with the Epic
* standard rig. Also, the SenseGlove Hand Pose format does not provide these. This is used by SenseGlove Tracking
* module to calculate an FXRMotionControllerData the all 26 joints. The values you specify here depend on the
* module to calculate an FXRHandTrackingState the all 26 joints. The values you specify here depend on the
* shape of the virtual hand mesh and the defaults are approximated for the virtual hand model shipped with the
* Unreal Engine VRTemplate.
*/
@@ -176,4 +176,4 @@ public:
const TSoftObjectPtr<USkeletalMesh>& InRightHandReferenceMesh,
const FSGVirtualHandPhalangesLengthSettings& InDistalPhalangesLengthSettings,
const FRotator& InRootBoneRotationCorrection);
};
};
@@ -2515,7 +2515,7 @@ bool FSGXRTracker::FImpl::UpdateSGHandState(const bool bRight, FSGXRHandState& O
const bool bGotWristTransform = GetWristTransform(bRight, WristTransform);
/// NOTE
// Even if we fail to get the wrist transform, the SenseGlove data needs to make it to the FXRMotionControllerData!
// Even if we fail to get the wrist transform, the SenseGlove data needs to make it to the FXRHandTrackingState!
// So, we just ignore the bGotWristTransform results! Otherwise, even if bFallbackToHandTrackingIfNoGloveDetected
// is disabled it will output the hand-tracking data.
(void) bGotWristTransform;
@@ -2571,4 +2571,4 @@ bool FSGXRTracker::FImpl::UpdateSGHandState(const bool bRight, FSGXRHandState& O
void FSGXRTracker::FImplDeleter::operator()(const FImpl* P) const
{
delete P;
}
}