Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Particles > UParticleSystemComponent
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Particles/ParticleSystemComponent.h |
Include | #include "Particles/ParticleSystemComponent.h" |
Source | /Engine/Source/Runtime/Engine/Private/Particles/ParticleComponents.cpp |
void ReportEventCollision
&40;
const FName InEventName,
const float InEmitterTime,
const FVector InLocation,
const FVector InDirection,
const FVector InVelocity,
const TArray< class UParticleModuleEventSendToGame &42; > & InEventData,
const float InParticleTime,
const FVector InNormal,
const float InTime,
const int32 InItem,
const FName InBoneName,
UPhysicalMaterial &42; PhysMat
&41;
Remarks
Record a collision event.
Parameters
Name | Description |
---|---|
InEventName | The name of the event that fired. |
InEmitterTime | The emitter time when the event fired. |
InLocation | The location of the particle when the event fired. |
InDirection | The direction of the particle when the event fired. |
InVelocity | The velocity of the particle when the event fired. |
InEventData | Gamespecific event data payload |
InParticleTime | The relative life of the particle when the event fired. |
InNormal | Normal vector of the collision in coordinate system of the returner. Zero=none. |
InTime | Time until hit, if line check. |
InItem | Primitive data item which was hit, INDEX_NONE=none. |
InBoneName | Name of bone we hit (for skeletal meshes). |