UParticleModuleCollision::PerformCollisionCheck

Perform the desired collision check for this module.

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

Syntax

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.

Returns

bool true if a collision occurred.

Parameters

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

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