Unreal SDK  v1.1
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"
6
8{
9public:
10 static const WeArtImpactInfo none;
11
12 bool valid;
13 FVector position;
14 float time;
16};
17
22{
23public:
24
29
31 {
32 effTemperature = temp;
33 effForce = force;
34 effTexture = texture;
36 };
37
38 bool Set(FWeArtTemperature temp, FWeArtForce force, FWeArtTexture texture, WeArtImpactInfo impactInfo);
39
40 virtual FWeArtTemperature getTemperature(void) override { return effTemperature; };
41 virtual FWeArtForce getForce(void) override { return effForce; };
42 virtual FWeArtTexture getTexture(void) override { return effTexture; };
43};
A general effect function interface.
Definition: WeArtEffect.h:11
Effect to be applied to the thimble.
Definition: WeArtTouchEffect.h:22
FWeArtTexture effTexture
Definition: WeArtTouchEffect.h:27
FWeArtForce effForce
Definition: WeArtTouchEffect.h:26
virtual FWeArtTemperature getTemperature(void) override
Definition: WeArtTouchEffect.h:40
virtual FWeArtTexture getTexture(void) override
Definition: WeArtTouchEffect.h:42
WeArtTouchEffect(FWeArtTemperature temp, FWeArtForce force, FWeArtTexture texture)
Definition: WeArtTouchEffect.h:30
virtual FWeArtForce getForce(void) override
Definition: WeArtTouchEffect.h:41
WeArtImpactInfo lastWeArtImpactInfo
Definition: WeArtTouchEffect.h:28
bool Set(FWeArtTemperature temp, FWeArtForce force, FWeArtTexture texture, WeArtImpactInfo impactInfo)
Definition: WeArtTouchEffect.cpp:4
FWeArtTemperature effTemperature
Definition: WeArtTouchEffect.h:25
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
Definition: WeArtTouchEffect.h:8
FVector position
Definition: WeArtTouchEffect.h:13
float multiplier
Definition: WeArtTouchEffect.h:15
float time
Definition: WeArtTouchEffect.h:14
bool valid
Definition: WeArtTouchEffect.h:12
static const WeArtImpactInfo none
Definition: WeArtTouchEffect.h:10