ドキュメント

Unity Engine

Unity Engine

MinMaxGradient

A single constant color for the entire gradient.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule

MinMaxGradient(Color)

A single constant color for the entire gradient.
public MinMaxGradient(Color color)

Parameters

color

Constant color.

MinMaxGradient(Gradient)

Use one gradient when evaluating numbers along this Min-Max Gradient.
public MinMaxGradient(Gradient gradient)

Parameters

gradient

A single gradient for evaluating against.

MinMaxGradient(Color, Color)

Randomly select colors based on the interval between the minimum and maximum constants.
public MinMaxGradient(Color min, Color max)

Parameters

The constant color describing the minimum colors to be evaluated.

The constant color describing the maximum colors to be evaluated.

MinMaxGradient(Gradient, Gradient)

Randomly select colors based on the interval between the minimum and maximum gradients.
public MinMaxGradient(Gradient min, Gradient max)

Parameters

The gradient describing the minimum colors to be evaluated.

The gradient describing the maximum colors to be evaluated.