Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/DamageEvents.h |
Include | #include "Engine/DamageEvents.h" |
Syntax
USTRUCT (BlueprintType )
struct FRadialDamageParams
Remarks
Parameters used to compute radial damage
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() |
float | BaseDamage | Max damage done |
![]() ![]() ![]() ![]() |
float | DamageFalloff | Describes amount of exponential damage falloff |
![]() ![]() ![]() ![]() |
float | InnerRadius | Within InnerRadius, do max damage |
![]() ![]() ![]() ![]() |
float | MinimumDamage | Damage will not fall below this if within range |
![]() ![]() ![]() ![]() |
float | OuterRadius | Outside OuterRadius, do no damage |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FRadialDamageParams
(
float InBaseDamage, |
||
![]() |
FRadialDamageParams
(
float InBaseDamage, |
||
![]() |
FRadialDamageParams
(
float InBaseDamage, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
float | GetDamageScale
(
float DistanceFromEpicenter |
Returns damage done at a certain distance |
![]() ![]() |
float | GetMaxRadius () |
Return outermost radius of the damage area. Protects against malformed data. |