Repository navigation
ColorOverLifetime API
Syntax-Sculptor edited this page Nov 24, 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 |
|---|---|---|---|
CurveMode |
"Single" | "TwoCurves" | "Single" | Determines whether particles use a single gradient or a randomized gradient between two gradients. |
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 CurveMode is set to "Single". |
GradientMax |
PaletteGradient | White gradient | The maximum gradient used when CurveMode is set to "TwoCurves". |
GradientMin |
PaletteGradient | White gradient | The minimum gradient used when CurveMode is set to "TwoCurves". |
Mode |
"Blend" | "Fixed" | "Blend" | Determines how colors and transparency are interpolated between keyframes. When set to "Blend", Palette smoothly interpolates between neighboring keyframes. When set to "Fixed", Palette does not interpolate between keyframes. |
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