Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ColorBySpeedModule

struct in UnityEngine

Switch to Manual

Description

Script interface for the Color By Speed module.

Variables

colorThe curve controlling the particle colors.
enabledEnable/disable the Color By Speed module.
rangeApply the color gradient between these minimum and maximum speeds.