Skip to content

format

typescript
ParticleSystem.colorByVelocityModuleSpeedRange

class: ParticleSystem

description

Applies a color gradient between the minimum and maximum speeds.

parameter

param_nametypedescription

reture

typedescription
Vector2Applies a color gradient between the minimum and maximum speeds.

code example

typescript
let obj = new GameObject();
let com = obj.AddComponent<ParticleSystem>(ParticleSystem);
com.colorByVelocityModuleSpeedRange;