UParticleModuleLifetime::GetLifetimeValue

Return the lifetime value at the given time.

Choose your operating system:

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