fix android build issues
This commit is contained in:
@@ -281,30 +281,30 @@ struct FSGXRTracker::FImpl
|
||||
return Name;
|
||||
}
|
||||
|
||||
static const FTransform& GetMeshRawBoneRefTransform(bool bRight, const FName& BoneName);
|
||||
static FTransform GetMeshRawBoneRefTransform(bool bRight, const FName& BoneName);
|
||||
|
||||
FORCEINLINE static const FTransform& GetMeshRawBoneRefTransform(const bool bRight, const int32 JointIndex)
|
||||
FORCEINLINE static FTransform GetMeshRawBoneRefTransform(const bool bRight, const int32 JointIndex)
|
||||
{
|
||||
const FName& BoneName{GetMeshBoneName(bRight, JointIndex)};
|
||||
const FTransform& Transform{GetMeshRawBoneRefTransform(bRight, BoneName)};
|
||||
return Transform;
|
||||
}
|
||||
|
||||
FORCEINLINE static const FTransform& GetMeshRawBoneRefTransform(const bool bRight, const EHandKeypoint Keypoint)
|
||||
FORCEINLINE static FTransform GetMeshRawBoneRefTransform(const bool bRight, const EHandKeypoint Keypoint)
|
||||
{
|
||||
const FName& BoneName{GetMeshBoneName(bRight, Keypoint)};
|
||||
const FTransform& Transform{GetMeshRawBoneRefTransform(bRight, BoneName)};
|
||||
return Transform;
|
||||
}
|
||||
|
||||
FORCEINLINE static const FTransform& GetMeshRawBoneRefTransform(const EControllerHand Hand, const FName& BoneName)
|
||||
FORCEINLINE static FTransform GetMeshRawBoneRefTransform(const EControllerHand Hand, const FName& BoneName)
|
||||
{
|
||||
const bool bRight = Hand == EControllerHand::Right;
|
||||
const FTransform& Transform{GetMeshRawBoneRefTransform(bRight, BoneName)};
|
||||
return Transform;
|
||||
}
|
||||
|
||||
FORCEINLINE static const FTransform& GetMeshRawBoneRefTransform(const EControllerHand Hand, const int32 JointIndex)
|
||||
FORCEINLINE static FTransform GetMeshRawBoneRefTransform(const EControllerHand Hand, const int32 JointIndex)
|
||||
{
|
||||
const bool bRight = Hand == EControllerHand::Right;
|
||||
const FName& BoneName{GetMeshBoneName(bRight, JointIndex)};
|
||||
@@ -312,7 +312,7 @@ struct FSGXRTracker::FImpl
|
||||
return Transform;
|
||||
}
|
||||
|
||||
FORCEINLINE static const FTransform& GetMeshRawBoneRefTransform(
|
||||
FORCEINLINE static FTransform GetMeshRawBoneRefTransform(
|
||||
const EControllerHand Hand, const EHandKeypoint Keypoint)
|
||||
{
|
||||
const bool bRight = Hand == EControllerHand::Right;
|
||||
@@ -769,7 +769,7 @@ USGHandPose* FSGXRTracker::FImpl::GetHandPose(const bool bRight)
|
||||
return HandPose;
|
||||
}
|
||||
|
||||
const FTransform& FSGXRTracker::FImpl::GetMeshRawBoneRefTransform(const bool bRight, const FName& BoneName)
|
||||
FTransform FSGXRTracker::FImpl::GetMeshRawBoneRefTransform(const bool bRight, const FName& BoneName)
|
||||
{
|
||||
const TSoftObjectPtr<USkeletalMesh>& HandMesh{
|
||||
bRight
|
||||
|
||||
Reference in New Issue
Block a user