Navigation
Unreal Engine C++ API Reference > 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
&40;
FParticleEmitterInstance &42; Owner,
FBaseParticle &42; InParticle,
FHitResult & Hit,
AActor &42; SourceActor,
const FVector & End,
const FVector & Start,
const FVector & Extent
&41;
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 |