Module |
|
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
)
Perform the desired collision check for this module.
bool true if a collision occurred.
Parameter |
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 |