Version: 2021.1
LanguageEnglish
  • C#

SizeOverLifetimeModule

struct in UnityEngine

/

Implemented in:UnityEngine.ParticleSystemModule

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

Submission failed

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

Close

Cancel

Switch to Manual

Description

Script interface for the SizeOverLifetimeModule.

This module controls the size of particles throughout their lifetime.

See Also: ParticleSystem, ParticleSystem.sizeOverLifetime.

Properties

enabledSpecifies whether the SizeOverLifetimeModule is enabled or disabled.
separateAxesSet the size over lifetime on each axis separately.
sizeCurve to control particle size based on lifetime.
sizeMultiplierA multiplier for ParticleSystem.SizeOverLifetimeModule.size.
xSize over lifetime curve for the x-axis.
xMultiplierSize multiplier along the x-axis.
ySize over lifetime curve for the y-axis.
yMultiplierSize multiplier along the y-axis.
zSize over lifetime curve for the z-axis.
zMultiplierSize multiplier along the z-axis.