Legacy Documentation: Version 5.6 (Go to current version)
Color Over Lifetime module
Size over Lifetime module
Other Versions

Color By Speed module

The color of a particle can be set here to change according to its speed in distance units per second.

Properties

Property Function
Color The color gradient of a particle defined over a speed range.
Speed Range The low and high ends of the speed range to which the color gradient is mapped (speeds outside the range will map to the end points of the gradient).

Details

Burning or glowing particles (such as sparks) tend to burn more brightly when they move quickly through the air (for example, when sparks are exposed to more oxygen), but then dim slightly as they slow down. To simulate this, you might use Color By Speed with a gradient that has white at the upper end of the speed range, and red at the lower end (in the spark example, faster particles will appear white while slower particles are red).

Color Over Lifetime module
Size over Lifetime module
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961