文档

Unity Engine

Unity Engine

ParticleSystem.ColorBySpeedModule

Script interface for the ColorBySpeedModule of a Particle System.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public struct ParticleSystem.ColorBySpeedModule

Remarks

Properties

Property

Description

colorThe gradient that controls the particle colors.
enabledSpecifies whether the ColorBySpeedModule is enabled or disabled.
rangeApply the color gradient between these minimum and maximum speeds.