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