unfinished improvements based on the last commit
This commit is contained in:
@@ -41,12 +41,13 @@ FSGVirtualHandTrackingSettings::FSGVirtualHandTrackingSettings()
|
||||
: FSGVirtualHandTrackingSettings(
|
||||
nullptr,
|
||||
nullptr,
|
||||
1.0f,
|
||||
1.0f,
|
||||
1.0f,
|
||||
1.0f,
|
||||
1.0f,
|
||||
FRotator{0.0f, -90.0f, 0.0f})
|
||||
1.4f,
|
||||
1.4f,
|
||||
1.4f,
|
||||
1.4f,
|
||||
1.4f,
|
||||
FRotator{0.0f, -90.0f, 0.0f},
|
||||
FRotator{0.0f, 180.0f, 90.0f})
|
||||
{
|
||||
}
|
||||
|
||||
@@ -58,7 +59,8 @@ FSGVirtualHandTrackingSettings::FSGVirtualHandTrackingSettings(
|
||||
const float InMiddleDistalPhalanxLength,
|
||||
const float InRingDistalPhalanxLength,
|
||||
const float InLittleDistalPhalanxLength,
|
||||
const FRotator& InHandRootBoneRotationCorrection)
|
||||
const FRotator& InHandMeshToOpenXRRootBoneRotationCorrection,
|
||||
const FRotator& InHandMeshToSenseGloveRootBoneRotationCorrection)
|
||||
: LeftHandReferenceMesh(InLeftHandReferenceMesh),
|
||||
RightHandReferenceMesh(InRightHandReferenceMesh),
|
||||
ThumbDistalPhalanxLength(InThumbDistalPhalanxLength),
|
||||
@@ -66,7 +68,8 @@ FSGVirtualHandTrackingSettings::FSGVirtualHandTrackingSettings(
|
||||
MiddleDistalPhalanxLength(InMiddleDistalPhalanxLength),
|
||||
RingDistalPhalanxLength(InRingDistalPhalanxLength),
|
||||
LittleDistalPhalanxLength(InLittleDistalPhalanxLength),
|
||||
HandRootBoneRotationCorrection(InHandRootBoneRotationCorrection),
|
||||
HandMeshToOpenXRRootBoneRotationCorrection(InHandMeshToOpenXRRootBoneRotationCorrection),
|
||||
HandMeshToSenseGloveRootBoneRotationCorrection(InHandMeshToSenseGloveRootBoneRotationCorrection),
|
||||
LeftHandDefaultReferenceBoneTransforms{
|
||||
TPair<FName, FTransform>{
|
||||
FName{TEXT("hand_l")},
|
||||
|
||||
@@ -73,7 +73,10 @@ public:
|
||||
float LittleDistalPhalanxLength;
|
||||
|
||||
UPROPERTY(Config, EditDefaultsOnly, Category="Virtual Hand")
|
||||
FRotator HandRootBoneRotationCorrection;
|
||||
FRotator HandMeshToOpenXRRootBoneRotationCorrection;
|
||||
|
||||
UPROPERTY(Config, EditDefaultsOnly, Category="Virtual Hand")
|
||||
FRotator HandMeshToSenseGloveRootBoneRotationCorrection;
|
||||
|
||||
UPROPERTY(Config, VisibleDefaultsOnly, Category="Virtual Hand")
|
||||
TMap<FName, FTransform> LeftHandDefaultReferenceBoneTransforms;
|
||||
@@ -98,6 +101,7 @@ public:
|
||||
float InMiddleDistalPhalanxLength,
|
||||
float InRingDistalPhalanxLength,
|
||||
float InLittleDistalPhalanxLength,
|
||||
const FRotator& InHandRootBoneRotationCorrection);
|
||||
const FRotator& InHandMeshToOpenXRRootBoneRotationCorrection,
|
||||
const FRotator& InHandMeshToSenseGloveRootBoneRotationCorrection);
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user