Unreal SDK  v1.3.0
Loading...
Searching...
No Matches
WeArtTouchEffect.h
Go to the documentation of this file.
1
2#pragma once
3
4#include "CoreMinimal.h"
5#include "WeArtEffect.h"
7
8USTRUCT(BlueprintType)
10{
11 GENERATED_BODY()
12public:
13 static const FUWeArtImpactInfo none;
14
15 UPROPERTY(BlueprintReadWrite)
16 bool valid;
17 UPROPERTY(BlueprintReadWrite)
18 FVector position;
19 UPROPERTY(BlueprintReadWrite)
20 float time;
21 UPROPERTY(BlueprintReadWrite)
22 float multiplier;
23};
24
28UCLASS(BlueprintType)
30{
31 GENERATED_BODY()
32public:
33
35
36 UPROPERTY(BlueprintReadWrite, Category = "WeArt Effects")
37 FWeArtTemperature effTemperature;
38 UPROPERTY(BlueprintReadWrite, Category = "WeArt Effects")
39 FWeArtForce effForce;
40 UPROPERTY(BlueprintReadWrite, Category = "WeArt Effects")
41 FWeArtTexture effTexture;
42 UPROPERTY(BlueprintReadWrite, Category = "WeArt Effects")
43 FUWeArtImpactInfo lastWeArtImpactInfo;
44
45 UFUNCTION(BlueprintCallable, Category = "WeArt Effects")
46 void Init (FWeArtTemperature temp, FWeArtForce force, FWeArtTexture texture)
47 {
48 effTemperature = temp;
49 effForce = force;
50 effTexture = texture;
51 lastWeArtImpactInfo = FUWeArtImpactInfo::none;
52 };
53
54 UFUNCTION(BlueprintCallable, Category = "WeArt Effects")
55 bool Set(FWeArtTemperature temp, FWeArtForce force, FWeArtTexture texture, FUWeArtImpactInfo impactInfo);
56
57 virtual FWeArtTemperature getTemperature() override { return effTemperature; };
58 virtual FWeArtForce getForce() override { return effForce; };
59 virtual FWeArtTexture getTexture() override { return effTexture; };
60};
A general effect function interface.
Definition: WeArtEffect.h:12
Effect to be applied to the thimble.
Definition: WeArtTouchEffect.h:30
virtual FWeArtTexture getTexture() override
Definition: WeArtTouchEffect.h:59
virtual FWeArtForce getForce() override
Definition: WeArtTouchEffect.h:58
Namespace for the WeArt plugin.
Definition: WeArtTouchEffect.h:10
static const FUWeArtImpactInfo none
Definition: WeArtTouchEffect.h:13
Force value to be applied to an effect.
Definition: WeArtForce.h:11
Temperature value to be applied to an effect.
Definition: WeArtTemperature.h:11
Texture information to be applied to an effect.
Definition: WeArtTexture.h:11