Class MinMaxCurve

最大最小曲线

Hierarchy

  • MinMaxCurve

Constructors

Properties

__class__: "MinMaxCurve"
between0And1: boolean = false

是否在编辑器中只显示Y轴 0-1 区域,例如 lifetime 为非负,需要设置为true

constant: number = 0

Set the constant value.

设置常数值。

constantMax: number = 0

Set a constant for the upper bound.

为上界设置一个常数。

constantMin: number = 0

Set a constant for the lower bound.

为下界设置一个常数。

curve: AnimationCurve = ...

Set the curve.

设置曲线。

curveMax: AnimationCurve = ...

Set a curve for the upper bound.

为上界设置一条曲线。

curveMin: AnimationCurve = ...

Set a curve for the lower bound.

为下界设置一条曲线。

curveMultiplier: number = 1

Set a multiplier to be applied to the curves.

设置一个乘数应用于曲线。

mode: MinMaxCurveMode = MinMaxCurveMode.Constant

模式

Methods

  • 获取值

    Parameters

    • time: number

      时间

    • randomBetween: number = ...

    Returns number

Generated using TypeDoc