ParticleSystemGradientMode
The particle gradient mode.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public enum ParticleSystemGradientMode
Remarks
This is used by ParticleSystem.MinMaxGradient to determine which mode to evaluate color gradients in.
Fields
Value | Description |
|---|---|
| Color | Use a single color for the ParticleSystem.MinMaxGradient. |
| Gradient | Use a single color gradient for the ParticleSystem.MinMaxGradient. |
| RandomColor | Define a list of colors in the ParticleSystem.MinMaxGradient, to be chosen from at random. |
| TwoColors | Use a random value between 2 colors for the ParticleSystem.MinMaxGradient. |
| TwoGradients | Use a random value between 2 color gradients for the ParticleSystem.MinMaxGradient. |