# SizeByLife module

# Overview

SizeByLife (size change module) is used to set the size change in the particle life cycle.

image.png

If the attribute type is Curve or TwoCurves, you can click on the curve and drag the Particle Curve at the bottom of the inspector upwards, and the curve editor will appear. You can right-click to increase the key frame and adjust the curve change.

# Property description

Property Function Type
separateAxes Whether to independently control the particle size on each axis. X means width, Y means height, Z means depth (only valid for Mesh type particles). boolean
x When separateAxes is false, it means the size of the XYZ axis of the particle changes throughout its life cycle. It is displayed as size in the tool. When separateAxes is true, it means the size of the particle X axis in its life cycle. Variety. engine.Particle.AdvancedProperty.ConstantProperty
engine.Particle.AdvancedProperty.TwoConstantsProperty
engine.Particle.AdvancedProperty.CurveProperty
engine.Particle.AdvancedProperty.TwoCurvesProperty
y When separateAxes is true, it indicates the change of the particle's Y-axis size during its life cycle. engine.Particle.AdvancedProperty.ConstantProperty
engine.Particle.AdvancedProperty.TwoConstantsProperty
engine.Particle.AdvancedProperty.CurveProperty
engine.Particle.AdvancedProperty.TwoCurvesProperty
z When separateAxes is true, it indicates the change of the particle's Z axis size during its life cycle. engine.Particle.AdvancedProperty.ConstantProperty
engine.Particle.AdvancedProperty.TwoConstantsProperty
engine.Particle.AdvancedProperty.CurveProperty
engine.Particle.AdvancedProperty.TwoCurvesProperty