fix runuat build issues for ue 5.2

This commit is contained in:
Mamadou Babaei
2024-08-16 18:02:07 +02:00
parent 6ed9ef525d
commit f69c08cbfb
@@ -1194,7 +1194,7 @@ bool FSGXRTracker::GetControllerOrientationAndPosition(const int32 ControllerInd
}
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2
const FName& MotionSource{GetEControllerHandEnumName(DeviceHand)};
const FName& MotionSource{FImpl::GetEControllerHandEnumName(DeviceHand)};
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2 */
FTransform ControllerTransform;
@@ -1222,7 +1222,7 @@ ETrackingStatus FSGXRTracker::GetControllerTrackingStatus(const int32 Controller
}
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2
const FName& MotionSource{GetEControllerHandEnumName(DeviceHand)};
const FName& MotionSource{FImpl::GetEControllerHandEnumName(DeviceHand)};
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 2 */
const FImpl::FSGMotionSourceInfo* KeyPointInfoPtr{Pimpl->MotionSourceToKeypointMap.Find(MotionSource)};