Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

ColorUse a single color for the ParticleSystem.MinMaxGradient.
GradientUse a single color gradient for the ParticleSystem.MinMaxGradient.
RandomColorDefine a list of colors in the ParticleSystem.MinMaxGradient, to be chosen from at random.
TwoColorsUse a random value between 2 colors for the ParticleSystem.MinMaxGradient.
TwoGradientsUse a random value between 2 color gradients for the ParticleSystem.MinMaxGradient.