Version: 2018.1

ParticleSystem.MinMaxGradientConstructor

Switch to Manual
public ParticleSystem.MinMaxGradient (Color color);

Parameters

colorConstant color.

Description

A single constant color for the entire gradient.


public ParticleSystem.MinMaxGradient (Gradient gradient);

Parameters

gradientA single gradient for evaluating against.

Description

Use one gradient when evaluating numbers along this Min-Max gradient.


public ParticleSystem.MinMaxGradient (Color min, Color max);

Parameters

minThe constant color describing the minimum colors to be evaluated.
maxThe constant color describing the maximum colors to be evaluated.

Description

Randomly select colors based on the interval between the minimum and maximum constants.


public ParticleSystem.MinMaxGradient (Gradient min, Gradient max);

Parameters

minThe gradient describing the minimum colors to be evaluated.
maxThe gradient describing the maximum colors to be evaluated.

Description

Randomly select colors based on the interval between the minimum and maximum gradients.

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