Overhaul of tangible/blueprint animation interface
This commit is contained in:
@@ -33,15 +33,10 @@ class INTEGRATION_API IlxTangibleInterface
|
||||
// Add interface functions to this class. This is the class that will be inherited to implement this interface.
|
||||
public:
|
||||
UFUNCTION(BlueprintImplementableEvent, Category = "Tangible Functionality")
|
||||
bool StartAnimation(ElxAnimationMode mode, const FlxAnimationStep& step);
|
||||
|
||||
UFUNCTION(BlueprintImplementableEvent, Category = "Tangible Functionality")
|
||||
bool AbortAnimation(int64 hash);
|
||||
bool AnimationStateChanged();
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* UlxTangible
|
||||
@@ -168,6 +163,12 @@ public:
|
||||
void UpdateAnimationQueue(std::string_view aq);
|
||||
|
||||
public:
|
||||
UFUNCTION(BlueprintCallable, Meta = (DefaultToSelf = "target"), Category = Luprex)
|
||||
static void GetCurrentAnimation(AActor *target, FlxAnimationStep &step);
|
||||
|
||||
UFUNCTION(BlueprintCallable, Meta = (DefaultToSelf = "target"), Category = Luprex)
|
||||
static void FinishedAnimation(AActor *target, const FlxAnimationStep &step);
|
||||
|
||||
UFUNCTION(BlueprintCallable, Meta = (DefaultToSelf = "target"), Category = Luprex)
|
||||
static FString GetTangiblePlane(AActor* target);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user