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; return Transform;
} }
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION < 7
bool FSGXRTracker::GetMotionControllerData( bool FSGXRTracker::GetMotionControllerData(
UObject* WorldContextObject, UObject* WorldContextObject,
const EControllerHand Hand, const EControllerHand Hand,
@@ -1238,6 +1240,8 @@ bool FSGXRTracker::GetMotionControllerData(
return OutMotionControllerData.bValid; return OutMotionControllerData.bValid;
} }
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION < 7 */
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5 #if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5
bool FSGXRTracker::GetMotionControllerState( bool FSGXRTracker::GetMotionControllerState(