diff --git a/Source/MoCapPlugin/Public/MCController.h b/Source/MoCapPlugin/Public/MCController.h index 0e245aaebe62735fae6169d4bccde688d9865468..940b91ba7b52e51b84ed7aab0a32ef20cf847de6 100644 --- a/Source/MoCapPlugin/Public/MCController.h +++ b/Source/MoCapPlugin/Public/MCController.h @@ -126,6 +126,8 @@ protected: int CurRecordingInSession = 0; + FAdditionalOffsets LastAddOffsets; + public: @@ -143,45 +145,47 @@ public: UPROPERTY(EditAnywhere, meta = (DisplayName = "Finger Tracking Method", Category = "MotionCapture")) ESkeletalSummaryDataType FingerTrackingMethod = ESkeletalSummaryDataType::VR_SummaryType_FromAnimation; - UPROPERTY(EditAnywhere, meta = (DisplayName = "Frames per Second", Category = "MotionCapture")) - int FramesPerSecond = 60; - - UPROPERTY(EditAnywhere, meta = (DisplayName = "Pawn", Category = "MotionCapture")) + /*------------MAP PROPERTIES-------------*/ + + UPROPERTY(EditAnywhere, meta = (DisplayName = "Pawn", Category = "MotionCapture Map")) AMCPawn* Pawn; - UPROPERTY(EditAnywhere, meta = (DisplayName = "Spectator Cam", Category = "MotionCapture")) + UPROPERTY(EditAnywhere, meta = (DisplayName = "Spectator Cam", Category = "MotionCapture Map")) ASceneCapture2D* SpectatorCam; - UPROPERTY(EditAnywhere, meta = (DisplayName = "Gesture Hold Scale Excess Time", Category = "MotionCapture")) - float GestureHoldExcessTime = 0.f; + UPROPERTY(EditAnywhere, meta = (DisplayName = "Left Foot Plane", Category = "MotionCapture Map")) + AActor* LeftFootPlane; - UPROPERTY(EditAnywhere, meta = (DisplayName = "Nr of Leg Smoothing Iterations", Category = "MotionCapture")) - int LegSmoothTimes = 5; + UPROPERTY(EditAnywhere, meta = (DisplayName = "Right Foot Plane", Category = "MotionCapture Map")) + AActor* RightFootPlane; - UPROPERTY(EditAnywhere, meta = (DisplayName = "Leg Smoothing Neighbor Window", Category = "MotionCapture")) - int LegSmoothWindow = 3; + /*------------ANIM PROPERTIES-------------*/ - UPROPERTY(EditAnywhere, meta = (DisplayName = "Left Foot Plane", Category = "MotionCapture")) - AActor* LeftFootPlane; + UPROPERTY(EditAnywhere, meta = (DisplayName = "Frames per Second", Category = "MotionCapture Anim")) + int FramesPerSecond = 60; - UPROPERTY(EditAnywhere, meta = (DisplayName = "Right Foot Plane", Category = "MotionCapture")) - AActor* RightFootPlane; + UPROPERTY(EditAnywhere, meta = (DisplayName = "Gesture Hold Scale Excess Time", Category = "MotionCapture Anim")) + float GestureHoldExcessTime = 0.f; - UPROPERTY(EditAnywhere, meta = (DisplayName = "Edit Offsets Mode", Category = "MotionCapture")) - bool EditOffsetMode = false; + UPROPERTY(EditAnywhere, meta = (DisplayName = "Nr of Leg Smoothing Iterations", Category = "MotionCapture Anim")) + int LegSmoothTimes = 5; - UPROPERTY(EditAnywhere, meta = (DisplayName = "Lock Feet To Green Foot Indicators", Category = "MotionCapture")) + UPROPERTY(EditAnywhere, meta = (DisplayName = "Leg Smoothing Neighbor Window", Category = "MotionCapture Anim")) + int LegSmoothWindow = 3; + + UPROPERTY(EditAnywhere, meta = (DisplayName = "Lock Feet To Green Foot Indicators", Category = "MotionCapture Anim")) bool LockFeet = true; - UPROPERTY(EditAnywhere, meta = (DisplayName = "Use the captured hand position", Category = "MotionCapture")) + UPROPERTY(EditAnywhere, meta = (DisplayName = "Use the captured hand position", Category = "MotionCapture Anim")) bool UseHandPosition = true; - UPROPERTY(EditAnywhere, meta = (DisplayName = "Limit the hand rotation (can cause rotational jumping)", Category = "MotionCapture")) + UPROPERTY(EditAnywhere, meta = (DisplayName = "Limit the hand rotation (can cause rotational jumping)", Category = "MotionCapture Anim")) bool LimitHandRotation = false; - UPROPERTY(EditAnywhere, meta = (DisplayName = "Additional Post Processing Offsets", Category = "MotionCapture")) - FAdditionalOffsets AdditionalOffsets; + //UPROPERTY(EditAnywhere, meta = (DisplayName = "Edit Offsets Mode", Category = "MotionCapture Anim")) + bool EditOffsetMode = false; - FAdditionalOffsets LastAddOffsets; + UPROPERTY(EditAnywhere, meta = (DisplayName = "Additional Post Processing Offsets", Category = "MotionCapture Anim")) + FAdditionalOffsets AdditionalOffsets; };