UParticleSystemComponent::ReportEventCollision

Record a collision event.

Windows
MacOS
Linux

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

Syntax

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
)

Remarks

Record a collision event.

Parameters

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).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss