Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Particles > Color
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UParticleModule
- UParticleModuleColorBase
- UParticleModuleColorOverLife
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
Type | Name | Description | |
---|---|---|---|
![]() |
FRawDistributionFloat | AlphaOverLife | The alpha to apply to the particle, as a function of the particle RelativeTime. |
![]() |
uint32: 1 | bClampAlpha | If true, the alpha value will be clamped to the [0..1] range. |
![]() |
FRawDistributionVector | ColorOverLife | The color to apply to the particle, as a function of the particle RelativeTime. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UParticleModuleColorOverLife
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Initializes the default values for this property |
Overridden from UParticleModule
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | AddModuleCurvesToEditor
(
UInterpCurveEdSetup* EdSetup, |
Add all curve-editable Objects within this module to the curve editor. |
![]() ![]() |
void | CompileModule
(
FParticleEmitterBuildInfo& EmitterInfo |
Called once to compile the effects of this module on runtime simulation. |
![]() ![]() |
void | SetToSensibleDefaults
(
UParticleEmitter* Owner |
For Cascade. |
![]() ![]() |
void | Spawn
(
FParticleEmitterInstance* Owner, |
Called on a particle that is freshly spawned by the emitter. |
![]() ![]() |
void | Update
(
FParticleEmitterInstance* Owner, |
Called on a particle that is being updated by its emitter. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
![]() ![]() |
void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |