Repository navigation
ColorOverLifetime API
Syntax Sculptor edited this page Oct 17, 2026
·
2 revisions
A module belonging to a ParticleEmitter, which handles how particles change color and transparency throughout their lifetime.
The module can be accessed through ParticleEmitter.ColorOverLifetime.
| Property | Type | Default | Description |
|---|---|---|---|
Enabled |
boolean | false | Determines whether the ColorOverLifetime module is enabled. |
Gradient |
PaletteGradient | White gradient | The gradient used to determine the particle's color throughout its lifetime when Mode is set to "Gradient". |
GradientMax |
PaletteGradient | White gradient | The maximum gradient used when Mode is set to "TwoGradients". |
GradientMin |
PaletteGradient | White gradient | The minimum gradient used when Mode is set to "TwoGradients". |
Mode |
"Gradient" | "TwoGradients" | "Gradient" | Determines whether particles use a single gradient or a randomized gradient between two gradients. |
Note
The color and transparency determined by the ColorOverLifetime module are multiplied by the particle's StartColor. To prevent StartColor from affecting the resulting gradient, set it to KColor.White.
- Palette API
- Particle Emitter API
- AlignToVelocity API
- ColorBySpeed API
- ColorOverLifetime API
- ForceOverLifetime API
- InheritVelocity API
- Keyframe API
- LimitVelocityOverLifetime API
- Noise API
- PaletteBurst API
- PaletteGradient API
- PaletteOverLifetime API
- RotationBySpeed API
- ScaleBySpeed API
- Shape API
- SpriteSheet API
- SubEmitterOptions API
- VelocityOverLifetime API