FParticleRibbonEmitterInstance::GetParticleLifetimeAndSize

Get the lifetime and size for a particle being added to the given trail

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ParticleEmitterInstances.h

Include

#include "ParticleEmitterInstances.h"

Source

/Engine/Source/Runtime/Engine/Private/Particles/ParticleTrail2EmitterInstance.cpp

Syntax

void GetParticleLifetimeAndSize
(
    int32 InTrailIdx,
    const FBaseParticle * InParticle,
    bool bInNoLivingParticles,
    float & OutOneOverMaxLifetime,
    float & OutSize
)

Remarks

Get the lifetime and size for a particle being added to the given trail

Parameters

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

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