Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine
Inheritance Hierarchy
- FDamageEvent
- FRadialDamageEvent
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/DamageEvents.h |
Include | #include "Engine/DamageEvents.h" |
Syntax
USTRUCT ()
struct FRadialDamageEvent : public FDamageEvent
Remarks
Damage subclass that handles damage with a source location and falloff radius
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TArray< FHitResult > | ComponentHits | Hit reslts of specific impacts |
![]() ![]() |
FVector | Origin | Location of origin point |
![]() ![]() |
FRadialDamageParams | Params | Static parameters describing damage falloff math |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Overridden from FDamageEvent
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
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. |
![]() ![]() ![]() |
int32 | GetTypeID () |
|
![]() ![]() ![]() |
bool |
Constants
Name | Description |
---|---|
ClassID | ID for this class. NOTE this must be unique for all damage events. |