Legacy Documentation: Version 5.0
Color By Speed Module
Size By Speed Module

Size Over Lifetime Module

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Many effects involve a particle changing size according to a curve, which can be set in this module.

Properties

Property: Function:
Size A curve defining the particle’s size over its lifetime.

Details

Particles that represent gases, flames or smoke will typically change in size as they move away from the point of emission. For example, smoke will tend to disperse and occupy a larger volume over time. This effect can be achieved by setting the curve for the smoke particle to an upward ramp, increasing with the particle’s age. (The effect is enhanced if Color Over Lifetime is also used to fade the smoke as it spreads.) For fireballs created by burning fuel, the flame particles will tend to expand after emission but then fade and shrink as the fuel is used up and the flame dissipates. In this case, the curve would have a rising “hump” that then falls back down to a smaller size.

Color By Speed Module
Size By Speed Module