Navigation
API > API/Plugins > API/Plugins/Niagara
Type struct for collision event payloads; collision event data set is based on this TODO: figure out how we can pipe attributes from the colliding particle in here
| Name | FNiagaraCollisionEventPayload |
| Type | struct |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraEvents.h |
| Include Path | #include "NiagaraEvents.h" |
Syntax
USTRUCT ()
struct FNiagaraCollisionEventPayload
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CollisionNormal | FVector | NiagaraEvents.h | ||
| CollisionPos | FVector | NiagaraEvents.h | ||
| CollisionVelocity | FVector | NiagaraEvents.h | ||
| ParticleIndex | int32 | NiagaraEvents.h | ||
| PhysicalMaterialIndex | int32 | NiagaraEvents.h |