Navigation
API > API/Runtime > API/Runtime/Engine
Damage subclass that handles damage with a source location and falloff radius
| Name | FRadialDamageEvent |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/DamageEvents.h |
| Include Path | #include "Engine/DamageEvents.h" |
Syntax
USTRUCT ()
struct FRadialDamageEvent : public FDamageEvent
Inheritance Hierarchy
- FDamageEvent → FRadialDamageEvent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRadialDamageEvent() |
Engine/DamageEvents.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ClassID | const int32 | ID for this class. NOTE this must be unique for all damage events. | Engine/DamageEvents.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ComponentHits | TArray< FHitResult > | Hit reslts of specific impacts | Engine/DamageEvents.h | |
| Origin | FVector | Location of origin point | Engine/DamageEvents.h | |
| Params | FRadialDamageParams | Static parameters describing damage falloff math | Engine/DamageEvents.h |
Functions
Public
Overridden from FDamageEvent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetBestHitInfo
(
AActor const* HitActor, |
Simple API for common cases where we are happy to assume a single hit is expected, even though damage event may have multiple hits. | Engine/DamageEvents.h | |
virtual int32 GetTypeID() |
Engine/DamageEvents.h | ||
virtual bool IsOfType
(
int32 InID |
Engine/DamageEvents.h |