keep removed 5.7 changes inside SGXRTracker implementation file conditionally, in order to reduce maintenance burden

This commit is contained in:
Mamadou Babaei
2025-11-18 03:56:27 +01:00
parent b9acec48e7
commit c17077d314
@@ -1013,6 +1013,8 @@ FTransform FSGXRTracker::FImpl::GetMeshFingerStartBoneRefTransform(
return Transform;
}
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION < 7
bool FSGXRTracker::GetMotionControllerData(
UObject* WorldContextObject,
const EControllerHand Hand,
@@ -1238,6 +1240,8 @@ bool FSGXRTracker::GetMotionControllerData(
return OutMotionControllerData.bValid;
}
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION < 7 */
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5
bool FSGXRTracker::GetMotionControllerState(