Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Particles > API/Runtime/Engine/Particles/Collision > API/Runtime/Engine/Particles/Collision/UParticleModuleCollision
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Particles/Collision/ParticleModuleCollision.h |
| Include | #include "Particles/Collision/ParticleModuleCollision.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Particles/ParticleModules_Collision.cpp |
virtual bool PerformCollisionCheck
(
FParticleEmitterInstance * Owner,
FBaseParticle * InParticle,
FHitResult & Hit,
AActor * SourceActor,
const FVector & End,
const FVector & Start,
const FVector & Extent
)
Remarks
Perform the desired collision check for this module. bool true if a collision occurred.
Parameters
| Name | Description |
|---|---|
| Owner | The emitter instance that owns the particle being checked |
| InParticle | The particle being checked for a collision |
| Hit | The hit results to fill in for a collision |
| SourceActor | The source actor for the check |
| End | The end position for the check |
| Start | The start position for the check |
| Extent | The extent to use for the check |