Module |
|
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
(
const FName InEventName,
const float InEmitterTime,
const FVector InLocation,
const FVector InDirection,
const FVector InVelocity,
const TArray< class UParticleModuleEventSendToGame * > & InEventData,
const float InParticleTime,
const FVector InNormal,
const float InTime,
const int32 InItem,
const FName InBoneName,
UPhysicalMaterial * PhysMat
)
Record a collision event.
Parameter |
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). |