From 6c9cd072f2d80f4546ea647bac389d9747660f6b Mon Sep 17 00:00:00 2001 From: Kris Helwig <helwig@vr.rwth-aachen.de> Date: Tue, 22 Apr 2025 11:00:03 +0200 Subject: [PATCH] Made some members blueprintable --- .../Public/PointOfInterestManager.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Source/RWTHVRQuickStart/Public/PointOfInterestManager.h b/Source/RWTHVRQuickStart/Public/PointOfInterestManager.h index 982f237..a5676cf 100644 --- a/Source/RWTHVRQuickStart/Public/PointOfInterestManager.h +++ b/Source/RWTHVRQuickStart/Public/PointOfInterestManager.h @@ -20,23 +20,26 @@ public: virtual void TickActor(float DeltaTime, enum ELevelTick TickType, FActorTickFunction& ThisTickFunction) override; - UFUNCTION(CallInEditor, Category="Point Of Interest Manager") + UFUNCTION(CallInEditor, BlueprintCallable, Category="Point Of Interest Manager") void AddPointOfInterest(); - UFUNCTION(CallInEditor, Category="Point Of Interest Manager") + UFUNCTION(CallInEditor, BlueprintCallable, Category="Point Of Interest Manager") void VisitNextPointOfInterest(); - UFUNCTION(CallInEditor, Category="Point Of Interest Manager") + UFUNCTION(CallInEditor, BlueprintCallable, Category="Point Of Interest Manager") void VisitPreviousPointOfInterest(); + UFUNCTION(BlueprintCallable, Category="Point Of Interest Manager") void VisitPointOfInterestByIndex(int index); + UFUNCTION(BlueprintCallable, Category="Point Of Interest Manager") void VisitPointOfInterest(APointOfInterest* POI) const; - UFUNCTION(CallInEditor, Category="Point Of Interest Manager") + UFUNCTION(CallInEditor, BlueprintCallable, Category="Point Of Interest Manager") void StartCameraRide(); - UFUNCTION(CallInEditor, Category="Point Of Interest Manager") + UFUNCTION(CallInEditor, BlueprintCallable, Category="Point Of Interest Manager") void StopCameraRide(); + UFUNCTION(BlueprintCallable, Category="Point Of Interest Manager") int GetPointOfInterestCount(); protected: @@ -46,7 +49,7 @@ protected: int CurrentPOIIndex = 0; private: - UFUNCTION(CallInEditor, Category="Point Of Interest Manager") + UFUNCTION(CallInEditor, BlueprintCallable, Category="Point Of Interest Manager") void UpdateSpline(); void ProgressCameraRide(); -- GitLab