UParticleModuleLifetime::GetLifetimeValue

Return the lifetime value at the given time.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Particles/Lifetime/ParticleModuleLifetime.h

Include

#include "Particles/Lifetime/ParticleModuleLifetime.h"

Source

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

Syntax

virtual float GetLifetimeValue
(
    FParticleEmitterInstance * Owner,
    float InTime,
    UObject * Data
)

Remarks

Return the lifetime value at the given time.

Returns

float The Lifetime value

Parameters

Parameter

Description

Owner

The emitter instance that owns this module

InTime

The time input for retrieving the lifetime value

Data

The data associated with the distribution

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