Damage subclass that handles damage with a single impact location and source direction 更多...
#include <EngineTypes.h>
类 FPointDamageEvent 继承关系图:Public 成员函数 | |
| virtual void | GetBestHitInfo (AActor const *HitActor, AActor const *HitInstigator, struct FHitResult &OutHitInfo, FVector &OutImpulseDir) const override |
| 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 成员函数 继承自 FDamageEvent | |
| FDamageEvent () | |
| Default constructor (no initialization). | |
| virtual void | GetBestHitInfo (AActor const *HitActor, AActor const *HitInstigator, struct FHitResult &OutHitInfo, FVector &OutImpulseDir) const |
| This is for compatibility with old-style functions which want a unified set of hit data regardless of type of hit. 更多... | |
Public 属性 | |
| float | Damage |
| Actual damage done | |
| struct FHitResult | HitInfo |
| Describes the trace/location that caused this damage | |
| FVector_NetQuantizeNormal | ShotDirection |
| Direction the shot came from. 更多... | |
Public 属性 继承自 FDamageEvent | |
| TSubclassOf< class UDamageType > | DamageTypeClass |
| Optional DamageType for this event. 更多... | |
静态 Public 属性 | |
| static const int32 | ClassID = 1 |
| ID for this class. 更多... | |
静态 Public 属性 继承自 FDamageEvent | |
| static const int32 | ClassID = 0 |
| ID for this class. 更多... | |
Damage subclass that handles damage with a single impact location and source direction
|
static |
ID for this class.
NOTE this must be unique for all damage events.
| FVector_NetQuantizeNormal FPointDamageEvent::ShotDirection |
Direction the shot came from.
Should be normalized.