Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ParticleSystem.ForceOverLifetimeModule

Script interface for the ForceOverLifetimeModule of a Particle System.
Read time 1 minuteLast updated 8 days ago

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public struct ParticleSystem.ForceOverLifetimeModule

Remarks

Properties

Property

Description

enabledSpecifies whether the ForceOverLifetimeModule is enabled or disabled.
randomizedWhen randomly selecting values between two curves or constants, this flag causes the system to choose a new random force on each frame.
spaceSpecifies whether the modules applies the forces in local or world space.
xThe curve that defines particle forces in the x-axis.
xMultiplierDefines the x-axis multiplier.
yThe curve defining particle forces in the y-axis.
yMultiplierDefines the y-axis multiplier.
zThe curve defining particle forces in the z-axis.
zMultiplierDefines the z-axis multiplier.