ParticleSystem.SizeBySpeedModule
Script interface for the SizeBySpeedModule.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public struct ParticleSystem.SizeBySpeedModule
Remarks
This module controls the size of particles based on their speeds.
Additional Resources: ParticleSystem, ParticleSystem.sizeBySpeed.
Properties
Property | Description |
|---|---|
| enabled | Specifies whether the SizeBySpeedModule is enabled or disabled. |
| range | Set the minimum and maximum speed that this modules applies the size curve between. |
| separateAxes | Set the size by speed on each axis separately. |
| size | Curve to control particle size based on speed. |
| sizeMultiplier | A multiplier for _size. |
| x | Size by speed curve for the x-axis. |
| xMultiplier | Size multiplier along the x-axis. |
| y | Size by speed curve for the y-axis. |
| yMultiplier | Size multiplier along the y-axis. |
| z | Size by speed curve for the z-axis. |
| zMultiplier | Size multiplier along the z-axis. |