From 9daac2673c2312f4edfdec766db1e2dd5bad4e56 Mon Sep 17 00:00:00 2001 From: Mamadou Babaei Date: Wed, 18 Feb 2026 13:25:36 +0100 Subject: [PATCH] replace all mentions of FXRMotionControllerData with FXRHandTrackingState in code comments --- .../SGSettings/SGVirtualHandMeshSettings.h | 16 ++++++++-------- .../Private/SGTracking/SGXRTracker.cpp | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Source/SenseGloveSettings/Public/SGSettings/SGVirtualHandMeshSettings.h b/Source/SenseGloveSettings/Public/SGSettings/SGVirtualHandMeshSettings.h index e25b7009..8b5cbf48 100644 --- a/Source/SenseGloveSettings/Public/SGSettings/SGVirtualHandMeshSettings.h +++ b/Source/SenseGloveSettings/Public/SGSettings/SGVirtualHandMeshSettings.h @@ -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& InRightHandReferenceMesh, const FSGVirtualHandPhalangesLengthSettings& InDistalPhalangesLengthSettings, const FRotator& InRootBoneRotationCorrection); -}; \ No newline at end of file +}; diff --git a/Source/SenseGloveTracking/Private/SGTracking/SGXRTracker.cpp b/Source/SenseGloveTracking/Private/SGTracking/SGXRTracker.cpp index 4e88452c..e41ba497 100644 --- a/Source/SenseGloveTracking/Private/SGTracking/SGXRTracker.cpp +++ b/Source/SenseGloveTracking/Private/SGTracking/SGXRTracker.cpp @@ -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; -} \ No newline at end of file +}