Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UParticleModuleLifetime |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Particles/Lifetime/ParticleModuleLifetime.h |
| Include Path | #include "Particles/Lifetime/ParticleModuleLifetime.h" |
Syntax
UCLASS (EditInlineNew, HideCategories=Object, MinimalAPI, Meta=(DisplayName="Lifetime"))
class UParticleModuleLifetime : public UParticleModuleLifetimeBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UParticleModule → UParticleModuleLifetimeBase → UParticleModuleLifetime
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UParticleModuleLifetime
(
const FObjectInitializer& ObjectInitializer |
Particles/Lifetime/ParticleModuleLifetime.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Lifetime | FRawDistributionFloat | The lifetime of the particle, in seconds. | Particles/Lifetime/ParticleModuleLifetime.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitializeDefaults() |
Initializes the default values for this property | Particles/Lifetime/ParticleModuleLifetime.h | |
void SpawnEx
(
const FSpawnContext& Context, |
Extended version of spawn, allows for using a random stream for distribution value retrieval | Particles/Lifetime/ParticleModuleLifetime.h |
Overridden from UParticleModuleLifetimeBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Return the lifetime value at the given time. | Particles/Lifetime/ParticleModuleLifetime.h | ||
virtual float GetMaxLifetime() |
Return the maximum lifetime this module would return. | Particles/Lifetime/ParticleModuleLifetime.h |
Overridden from UParticleModule
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CompileModule
(
FParticleEmitterBuildInfo& EmitterInfo |
Called once to compile the effects of this module on runtime simulation. | Particles/Lifetime/ParticleModuleLifetime.h | |
virtual void SetToSensibleDefaults
(
UParticleEmitter* Owner |
For Cascade. | Particles/Lifetime/ParticleModuleLifetime.h | |
virtual void Spawn
(
const FSpawnContext& Context |
Particles/Lifetime/ParticleModuleLifetime.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Particles/Lifetime/ParticleModuleLifetime.h | ||
virtual void PostInitProperties() |
Particles/Lifetime/ParticleModuleLifetime.h |