5#include "CoreMinimal.h"
8#include "Curves/CurveFloat.h"
9#include "GS_LerpToHand.generated.h"
16UCLASS(NotBlueprintable, ClassGroup = (
VRExpansionPlugin), hideCategories = TickSettings)
24 float CurrentLerpTime;
28 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LerpSettings")
29 float MinDistanceForLerp;
32 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LerpSettings")
37 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LerpSettings")
38 float MinSpeedForLerp;
42 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LerpSettings")
43 float MaxSpeedForLerp;
45 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LerpSettings")
48 UPROPERTY(BlueprintAssignable, Category = "LerpEvents")
49 FVRLerpToHandFinishedSignature OnLerpToHandBegin;
51 UPROPERTY(BlueprintAssignable, Category = "LerpEvents")
52 FVRLerpToHandFinishedSignature OnLerpToHandFinished;
55 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LerpCurve")
59 UPROPERTY(Category = "LerpCurve", EditAnywhere, meta = (editcondition = "bUseCurve"))
60 FRuntimeFloatCurve OptionalCurveToFollow;
62 FTransform OnGripTransform;
66 virtual
bool GetWorldTransform_Implementation(
UGripMotionControllerComponent * OwningController,
float DeltaTime, FTransform & WorldTransform, const FTransform &ParentTransform,
FBPActorGripInformation &Grip,
AActor * actor, UPrimitiveComponent * root,
bool bRootHasInterface,
bool bActorHasInterface,
bool bIsForTeleport) override;
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FVRLerpToHandFinishedSignature)
EVRLerpInterpolationMode
UENUM(BlueprintType)
UCLASS(NotBlueprintable, ClassGroup = (VRExpansionPlugin), hideCategories = TickSettings)
FVRLerpToHandFinishedSignature OnLerpToHandBegin
UPROPERTY(BlueprintAssignable, Category = "LerpEvents")
float MinSpeedForLerp
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LerpSettings")
float MaxSpeedForLerp
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LerpSettings")
FRuntimeFloatCurve OptionalCurveToFollow
UPROPERTY(Category = "LerpCurve", EditAnywhere, meta = (editcondition = "bUseCurve"))
FVRLerpToHandFinishedSignature OnLerpToHandFinished
UPROPERTY(BlueprintAssignable, Category = "LerpEvents")
float LerpDuration
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LerpSettings")
EVRLerpInterpolationMode LerpInterpolationMode
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LerpSettings")
bool bUseCurve
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LerpCurve")
float MinDistanceForLerp
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LerpSettings")
FTransform OnGripTransform
UCLASS(Blueprintable, meta = (BlueprintSpawnableComponent), ClassGroup = MotionController)
UCLASS(NotBlueprintable, BlueprintType, EditInlineNew, DefaultToInstanced, Abstract,...
virtual void OnGripRelease_Implementation(UGripMotionControllerComponent *ReleasingController, const FBPActorGripInformation &GripInformation, bool bWasSocketed=false)
virtual bool GetWorldTransform_Implementation(UGripMotionControllerComponent *OwningController, float DeltaTime, FTransform &WorldTransform, const FTransform &ParentTransform, FBPActorGripInformation &Grip, AActor *actor, UPrimitiveComponent *root, bool bRootHasInterface, bool bActorHasInterface, bool bIsForTeleport)
virtual void OnGrip_Implementation(UGripMotionControllerComponent *GrippingController, const FBPActorGripInformation &GripInformation)