# ColorByLife Module

# Overview

ColorByLife (color change module), used to set the color change in the particle life cycle.

image.png

Click the gradient color area, the following gradient color edit box will pop up.

image.png

Right-click the space on the upper boundary of the gradient color area, and you can add/delete key frames of transparency. Right-click the space at the lower boundary of the gradient color area, and you can add/delete key frames of RGB color.

Select and drag the triangle with the left mouse button, or modify the value of Location to adjust the position of the key frame.

# Property description

Property Function Type
gColor The change of color during the life cycle of a particle. engine.Particle.AdvancedProperty.OneColorProperty
engine.Particle.AdvancedProperty.TwoColorsProperty
engine.Particle.AdvancedProperty.GradientProperty
engine.Particle.AdvancedProperty.TwoGradientsProperty
点击咨询小助手