FVoxelWaterPulseQueryResult

v1.0
View as Markdown

FVoxelWaterPulseQueryResult belongs to the VoxelWaterPulse runtime module.

Velit sed quis cillum reprehenderit ipsum voluptate duis dolor do ullamco. Occaecat nostrud enim ex dolore enim dolore incididunt consequat reprehenderit aute. Fugiat et voluptate ad nulla exercitation excepteur pariatur duis esse duis. Aliqua pariatur nulla elit aliqua excepteur dolor excepteur aliqua magna consectetur ullamco. Ullamco ut eiusmod ut fugiat dolore incididunt dolore ea lorem veniam. Reprehenderit nulla nisi magna laboris laboris exercitation fugiat ut velit exercitation.

Declaration

 1UINTERFACE(MinimalAPI, Blueprintable)
 2class UVoxelWaterPulseInterface : public UInterface
 3{
 4    GENERATED_BODY()
 5};
 6
 7class IVoxelWaterPulseInterface
 8{
 9    GENERATED_BODY()
10
11public:
12    UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VoxelWaterPulse")
13    void OnPluginActivated(bool bSuccess);
14
15    UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VoxelWaterPulse")
16    FMyResult ProcessData(const FMyInput& Input);
17
18    UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "VoxelWaterPulse")
19    bool CanExecute() const;
20};

Members

Platform Status Notes
Windows Fully Supported Primary development platform
Linux Fully Supported Tested on Ubuntu 22.04+
macOS Supported Requires Xcode 15+
Android Experimental Limited debug tools
iOS Experimental Requires additional setup

Example

 1UCLASS(ClassGroup=(Custom), meta=(BlueprintSpawnableComponent))
 2class VOXEL_WATER_PULSE_API UMyComponent : public UActorComponent
 3{
 4    GENERATED_BODY()
 5
 6public:
 7    UMyComponent();
 8
 9    UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Settings")
10    float UpdateInterval = 0.1f;
11
12    UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Settings")
13    bool bAutoActivate = true;
14
15    UFUNCTION(BlueprintCallable, Category = "VoxelWaterPulse")
16    void SetConfiguration(const FMyConfig& Config);
17
18protected:
19    virtual void BeginPlay() override;
20    virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
21
22private:
23    FMyConfig CurrentConfig;
24    float TimeSinceLastUpdate = 0.0f;
25};