Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FParticleTrailsEmitterInstance_B-
Description
Retrieve the particle in the trail that meets the given criteria
Retrieve the particle in the trail that meets the given criteria
| Name | GetParticleInTrail |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/ParticleEmitterInstances.h |
| Include Path | #include "ParticleEmitterInstances.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Particles/ParticleTrail2EmitterInstance.cpp |
bool GetParticleInTrail
(
bool bSkipStartingParticle,
FBaseParticle * InStartingFromParticle,
FTrailsBaseTypeDataPayload * InStartingTrailData,
EGetTrailDirection InGetDirection,
EGetTrailParticleOption InGetOption,
FBaseParticle *& OutParticle,
FTrailsBaseTypeDataPayload *& OutTrailData
)
bool true if found, false if not.
Parameters
| Name | Remarks |
|---|---|
| bSkipStartingParticle | If true, don't check the starting particle for meeting the criteria |
| InStartingFromParticle | The starting point for the search. |
| InStartingTrailData | The trail data for the starting point. |
| InGetDirection | Direction to search the trail. |
| InGetOption | Options for defining the type of particle. |
| OutParticle | The particle that meets the criteria. |
| OutTrailData | The trail data of the particle that meets the criteria. |
| bSkipStartingParticle | If true, don't check the starting particle for meeting the criteria |
| InStartingFromParticle | The starting point for the search. |
| InStartingTrailData | The trail data for the starting point. |
| bPrevious | If true, search PREV entries. Search NEXT entries otherwise. |
| InGetOption | Options for defining the type of particle. |
| OutParticle | The particle that meets the criteria. |
| OutTrailData | The trail data of the particle that meets the criteria. |