FRadialDamageEvent

Damage subclass that handles damage with a source location and falloff radius

Windows
MacOS
Linux

Inheritance Hierarchy

FDamageEvent

FRadialDamageEvent

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h

Include

#include "Engine/EngineTypes.h"

Syntax

struct FRadialDamageEvent : public FDamageEvent

Remarks

Damage subclass that handles damage with a source location and falloff radius

Variables

Name Description

Public variable

TArray< struct ...

 

ComponentHits

Hit reslts of specific impacts

Public variable

FVector

 

Origin

Location of origin point

Public variable

FRadialDamagePa...

 

Params

Static parameters describing damage falloff math

Constructors

Name Description

Public function

FRadialDamageEvent()

Overridden from FDamageEvent

Name Description

Public function Virtual Const

void

 

GetBestHitInfo

(
    AActor const* HitActor,
    AActor const* HitInstigator,
    FHitResult& OutHitInfo,
    FVector& OutImpulseDir
)

Simple API for common cases where we are happy to assume a single hit is expected, even though damage event may have multiple hits.

Public function Virtual Const

int32

 

GetTypeID()

Public function Virtual Const

bool

 

IsOfType

(
    int32 InID
)

Constants

Name

Description

ClassID

ID for this class.

this must be unique for all damage events.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss