| FDamageEvent
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
Include |
#include "Engine/EngineTypes.h" |
struct FPointDamageEvent : public FDamageEvent
Damage subclass that handles damage with a single impact location and source direction
Name | Description | ||
---|---|---|---|
|
float |
Damage |
Actual damage done |
|
HitInfo |
Describes the trace/location that caused this damage |
|
|
ShotDirection |
Direction the shot came from. Should be normalized. |
Name | Description | |
---|---|---|
|
FPointDamageEvent() |
|
|
FPointDamageEvent ( |
Name | Description | ||
---|---|---|---|
|
GetBestHitInfo ( |
Simple API for common cases where we are happy to assume a single hit is expected, even though damage event may have multiple hits. |
|
|
GetTypeID() |
||
|
IsOfType ( |
Name |
Description |
---|---|
ClassID |
ID for this class. this must be unique for all damage events. |