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:19:00 +01:00
parent 876cc95d12
commit 53a22b4b89
@@ -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(