ParticleSystem.ForceOverLifetimeModule
Script interface for ForceOverLifetimeModule.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Struct
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public struct ParticleSystem.ForceOverLifetimeModule
Remarks
Use this module to apply forces to particles. The system applies forces to the particle velocities on each frame.
Additional Resources: ParticleSystem, _forceOverLifetime
Properties
Property | Description |
|---|---|
| enabled | Specifies whether the ForceOverLifetimeModule is enabled or disabled. |
| randomized | When randomly selecting values between two curves or constants, this flag causes the system to choose a new random force on each frame. |
| space | Specifies whether the modules applies the forces in local or world space. |
| x | The curve that defines particle forces in the x-axis. |
| xMultiplier | Defines the x-axis multiplier. |
| y | The curve defining particle forces in the y-axis. |
| yMultiplier | Defines the y-axis multiplier. |
| z | The curve defining particle forces in the z-axis. |
| zMultiplier | Defines the z-axis multiplier. |