Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/ParticleEmitterInstances.h |
Include |
#include "ParticleEmitterInstances.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Particles/ParticleTrail2EmitterInstance.cpp |
void GetParticleLifetimeAndSize
(
int32 InTrailIdx,
const FBaseParticle * InParticle,
bool bInNoLivingParticles,
float & OutOneOverMaxLifetime,
float & OutSize
)
Get the lifetime and size for a particle being added to the given trail
Parameter |
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 |