DRG-Femboy-Voice/Source/FSD/Public/MoveComponentToAction.h
2025-04-15 12:39:31 -07:00

32 lines
1.1 KiB
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "UObject/NoExportTypes.h"
#include "Kismet/KismetMathLibrary.h"
#include "TickableActionBase.h"
#include "MoveComponentToAction.generated.h"
class UMoveComponentToAction;
class UObject;
class USceneComponent;
UCLASS(Blueprintable)
class UMoveComponentToAction : public UTickableActionBase {
GENERATED_BODY()
public:
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FCompletedDelegate, USceneComponent*, Component);
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, Export, meta=(AllowPrivateAccess=true))
TWeakObjectPtr<USceneComponent> Component;
UPROPERTY(BlueprintAssignable, BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
FCompletedDelegate Completed;
public:
UMoveComponentToAction();
protected:
UFUNCTION(BlueprintCallable, meta=(WorldContext="WorldContext"))
static UMoveComponentToAction* EaseComponentTo(UObject* WorldContext, USceneComponent* InComponent, FTransform InEndTransform, TEnumAsByte<EEasingFunc::Type> InEasingMode, bool InWorldSpace, float InDuration);
};