Version: 2021.3
LanguageEnglish
  • C#

RotationOverLifetimeModule

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 RotationOverLifetimeModule.

Rotate particles throughout their lifetime.

Additional resources: ParticleSystem, ParticleSystem.rotationOverLifetime.

Properties

enabledSpecifies whether the RotationOverLifetimeModule is enabled or disabled.
separateAxesSet the rotation over lifetime on each axis separately.
xRotation over lifetime curve for the x-axis.
xMultiplierRotation multiplier around the x-axis.
yRotation over lifetime curve for the y-axis.
yMultiplierRotation multiplier around the y-axis.
zRotation over lifetime curve for the z-axis.
zMultiplierRotation multiplier around the z-axis.