Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FParticleRibbonEmitterInstance
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/ParticleEmitterInstances.h |
Include | #include "ParticleEmitterInstances.h" |
Source | /Engine/Source/Runtime/Engine/Private/Particles/ParticleTrail2EmitterInstance.cpp |
void GetParticleLifetimeAndSize
&40;
int32 InTrailIdx,
const FBaseParticle &42; InParticle,
bool bInNoLivingParticles,
float & OutOneOverMaxLifetime,
float & OutSize
&41;
Remarks
Get the lifetime and size for a particle being added to the given trail
Parameters
Name | Description |
---|---|
InTrailIdx | The index of the trail the particle is being added to |
InParticle | The particle that is being added |
bInNoLivingParticles | true if there are no particles in the trail, false if there already are |
OutOneOverMaxLifetime | The OneOverMaxLifetime value to use for the particle |
OutSize | The Size value to use for the particle |