UParticleModuleColorOverLife

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Particles/Color/ParticleModuleColorOverLife.h

Include

#include "Particles/Color/ParticleModuleColorOverLife.h"

Syntax

class UParticleModuleColorOverLife : public UParticleModuleColorBase

Variables

Name Description

Public variable

FRawDistributio...

 

AlphaOverLife

The alpha to apply to the particle, as a function of the particle RelativeTime.

Public variable

uint32: 1

 

bClampAlpha

If true, the alpha value will be clamped to the [0..1] range.

Public variable

FRawDistributio...

 

ColorOverLife

The color to apply to the particle, as a function of the particle RelativeTime.

Constructors

Name Description

Public function

UParticleModuleColorOverLife

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

InitializeDefaults()

Initializes the default values for this property

Overridden from UParticleModule

Name Description

Public function Virtual

bool

 

AddModuleCurvesToEditor

(
    UInterpCurveEdSetup* EdSetup,
    TArray< const FCurveEdEntry* >...
)

Add all curve-editable Objects within this module to the curve editor.

Public function Virtual

void

 

CompileModule

(
    FParticleEmitterBuildInfo& Emitter...
)

Called once to compile the effects of this module on runtime simulation.

Public function Virtual

void

 

SetToSensibleDefaults

(
    UParticleEmitter* Owner
)

For Cascade.

Public function Virtual

void

 

Spawn

(
    FParticleEmitterInstance* Owne...,
    int32 Offset,
    float SpawnTime,
    FBaseParticle* ParticleBase
)

Called on a particle that is freshly spawned by the emitter.

Public function Virtual

void

 

Update

(
    FParticleEmitterInstance* Owne...,
    int32 Offset,
    float DeltaTime
)

Called on a particle that is being updated by its emitter.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.