Unreal SDK  v1.3.0
Loading...
Searching...
No Matches
WeArtContactPoint.h
Go to the documentation of this file.
1#pragma once
4#include "WeArtFingerType.h"
6
7
9{
10private:
11 WeArtContactPointType ContactPointType;
12 WeArtFingerType FingerType;
13 bool Contacted;
14 bool ObjectInRadius;
15 UWeArtTouchableObject* TouchedObject;
16 float ContactClosure;
17 float ContactAbduction;
18 float MinClosure;
19
20public:
21 float GetMinClosure() const;
22 void SetMinClosure(float MinClosure);
23 float GetMinAbduction() const;
24 void SetMinAbduction(float MinAbduction);
25
26private:
27 float MinAbduction;
28 FVector ContactLocation;
29 FVector ContactNormal;
30 FString ContactSocketName;
31
32public:
33 float GetContactAbduction() const;
34 void SetContactAbduction(float ContactAbductionRef);
35 bool IsObjectInRadius() const;
36 void SetObjectInRadius(bool bObjectInRadius);
37 float GetContactClosure() const;
38 void SetContactClosure(float ContactClosureRef);
39 UWeArtTouchableObject* GetTouchedObject() const;
40 void SetTouchedObject(UWeArtTouchableObject* TouchedObjectRef);
41 FString GetContactSocketName() const;
42 FVector GetContactNormal() const;
43 void SetContactNormal(const FVector& ContactNormal);
44 FVector GetContactLocation() const;
45 void SetContactLocation(const FVector& ContactLocation);
46 bool IsContacted() const;
47 FWeArtContactPoint(WeArtContactPointType ContactPointType, WeArtFingerType FingerType, FString ContactSocketNameRef,
48 bool bIsContacted);
49 FWeArtContactPoint(WeArtContactPointType ContactPointType, WeArtFingerType FingerType, FVector Location,
50 FVector ContactNormalRef, bool bIsContacted);
53 void SetContactPointType(WeArtContactPointType ContactPointType);
55 void SetFingerType(WeArtFingerType FingerType);
56 void SetIsContacted(bool bIsContacted);
57};
WeArtContactPointType
Definition: WeArtContactPointType.h:4
WeArtFingerType
Definition: WeArtFingerType.h:4
Definition: WeArtContactPoint.h:9
void SetContactPointType(WeArtContactPointType ContactPointType)
Definition: WeArtContactPoint.cpp:123
void SetContactNormal(const FVector &ContactNormal)
Definition: WeArtContactPoint.cpp:74
FVector GetContactLocation() const
Definition: WeArtContactPoint.cpp:79
void SetMinAbduction(float MinAbduction)
Definition: WeArtContactPoint.cpp:29
float GetMinClosure() const
Definition: WeArtContactPoint.cpp:14
bool IsObjectInRadius() const
Definition: WeArtContactPoint.cpp:4
FWeArtContactPoint()
Definition: WeArtContactPoint.cpp:114
float GetMinAbduction() const
Definition: WeArtContactPoint.cpp:24
void SetMinClosure(float MinClosure)
Definition: WeArtContactPoint.cpp:19
void SetTouchedObject(UWeArtTouchableObject *TouchedObjectRef)
Definition: WeArtContactPoint.cpp:59
FString GetContactSocketName() const
Definition: WeArtContactPoint.cpp:64
float GetContactAbduction() const
Definition: WeArtContactPoint.cpp:34
void SetContactAbduction(float ContactAbductionRef)
Definition: WeArtContactPoint.cpp:39
UWeArtTouchableObject * GetTouchedObject() const
Definition: WeArtContactPoint.cpp:54
void SetIsContacted(bool bIsContacted)
Definition: WeArtContactPoint.cpp:139
void SetContactClosure(float ContactClosureRef)
Definition: WeArtContactPoint.cpp:49
WeArtFingerType GetFingerType() const
Definition: WeArtContactPoint.cpp:128
WeArtContactPointType GetContactPointType() const
Definition: WeArtContactPoint.cpp:118
void SetObjectInRadius(bool bObjectInRadius)
Definition: WeArtContactPoint.cpp:9
void SetFingerType(WeArtFingerType FingerType)
Definition: WeArtContactPoint.cpp:133
void SetContactLocation(const FVector &ContactLocation)
Definition: WeArtContactPoint.cpp:84
bool IsContacted() const
Definition: WeArtContactPoint.cpp:89
float GetContactClosure() const
Definition: WeArtContactPoint.cpp:44
FVector GetContactNormal() const
Definition: WeArtContactPoint.cpp:69