Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UParticleModuleColorOverLife |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Particles/Color/ParticleModuleColorOverLife.h |
| Include Path | #include "Particles/Color/ParticleModuleColorOverLife.h" |
Syntax
UCLASS (EditInlineNew, HideCategories=Object, MinimalAPI, Meta=(DisplayName="Color Over Life"))
class UParticleModuleColorOverLife : public UParticleModuleColorBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UParticleModule → UParticleModuleColorBase → UParticleModuleColorOverLife
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UParticleModuleColorOverLife
(
const FObjectInitializer& ObjectInitializer |
Particles/Color/ParticleModuleColorOverLife.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AlphaOverLife | FRawDistributionFloat | The alpha to apply to the particle, as a function of the particle RelativeTime. | Particles/Color/ParticleModuleColorOverLife.h |
|
| bClampAlpha | uint32 | If true, the alpha value will be clamped to the [0..1] range. | Particles/Color/ParticleModuleColorOverLife.h |
|
| ColorOverLife | FRawDistributionVector | The color to apply to the particle, as a function of the particle RelativeTime. | Particles/Color/ParticleModuleColorOverLife.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitializeDefaults() |
Initializes the default values for this property | Particles/Color/ParticleModuleColorOverLife.h |
Overridden from UParticleModule
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AddModuleCurvesToEditor
(
UInterpCurveEdSetup* EdSetup, |
Add all curve-editable Objects within this module to the curve editor. | Particles/Color/ParticleModuleColorOverLife.h | |
virtual void CompileModule
(
FParticleEmitterBuildInfo& EmitterInfo |
Called once to compile the effects of this module on runtime simulation. | Particles/Color/ParticleModuleColorOverLife.h | |
virtual void SetToSensibleDefaults
(
UParticleEmitter* Owner |
For Cascade. | Particles/Color/ParticleModuleColorOverLife.h | |
virtual void Spawn
(
const FSpawnContext& Context |
Particles/Color/ParticleModuleColorOverLife.h | ||
virtual void Update
(
const FUpdateContext& Context |
Particles/Color/ParticleModuleColorOverLife.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Particles/Color/ParticleModuleColorOverLife.h | ||
virtual void PostInitProperties() |
Particles/Color/ParticleModuleColorOverLife.h |