![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <DamageEvents.h>
Public Member Functions | |
| FRadialDamageParams () | |
| FRadialDamageParams (float InBaseDamage, float InInnerRadius, float InOuterRadius, float InDamageFalloff) | |
| FRadialDamageParams (float InBaseDamage, float InMinimumDamage, float InInnerRadius, float InOuterRadius, float InDamageFalloff) | |
| FRadialDamageParams (float InBaseDamage, float InRadius) | |
| ENGINE_API float | GetDamageScale (float DistanceFromEpicenter) const |
| float | GetMaxRadius () const |
Public Attributes | |
| float | BaseDamage |
| float | MinimumDamage |
| float | InnerRadius |
| float | OuterRadius |
| float | DamageFalloff |
Parameters used to compute radial damage
|
inline |
|
inline |
|
inline |
Returns damage done at a certain distance
|
inline |
Return outermost radius of the damage area. Protects against malformed data.
| float FRadialDamageParams::BaseDamage |
Max damage done
| float FRadialDamageParams::DamageFalloff |
Describes amount of exponential damage falloff
| float FRadialDamageParams::InnerRadius |
Within InnerRadius, do max damage
| float FRadialDamageParams::MinimumDamage |
Damage will not fall below this if within range
| float FRadialDamageParams::OuterRadius |
Outside OuterRadius, do no damage