Cocos Creator
Size Overtime Module
The Size module is used to set the size of the particles during their lifetime, thus achieving particle effects like flames and snowflakes of varying sizes.
Properties
Properties | Description |
---|---|
SeparateAxes | Whether to set particle size separately on X, Y, Z axis. When you click the button on the right side of the input box and switch to use curve editing, it indicates whether the three axes are scaled separately. Please refer to the following for details. |
Size | Set the particle size. When switching to use curve editing, you can set the curve of particle size versus time. This item and the separateAxes attribute, only one of the two can be selected. |
Separate Axes
Check the SeparateAxes property, click the button and select Curve to switch to curve editing mode. You can then define the curve to specify the size change of the particle in the X, Y and Z directions during its lifetime (Z is only used for mesh particles).
For details, please refer to Curve Editor.