Class MinMaxGradient

最大最小颜色渐变

Hierarchy

  • MinMaxGradient

Constructors

Properties

__class__: "MinMaxGradient"
color: Color4

Set a constant color.

常量颜色值

colorMax: Color4

Set a constant color for the upper bound.

为上界设置一个常量颜色。

colorMin: Color4

Set a constant color for the lower bound.

为下界设置一个常量颜色。

gradient: Gradient

Set the gradient.

设置渐变。

gradientMax: Gradient

Set a gradient for the upper bound.

为上界设置一个渐变。

gradientMin: Gradient

Set a gradient for the lower bound.

为下界设置一个渐变。

Set the mode that the min-max gradient will use to evaluate colors.

设置最小-最大梯度将用于评估颜色的模式。

Methods

  • 获取值

    Parameters

    • time: number

      时间

    • Optional randomBetween: number

    Returns Color4

Generated using TypeDoc