기술 자료

Unity Engine

Unity Engine

ParticleSystemGradientMode

The particle gradient mode.
읽는 시간 1분최근 업데이트: 한 달 전

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.