The GradientAngularVelocity class is used to create gradient angular velocities.

GradientAngularVelocity 类用于创建渐变角速度。

实现

  • IClone

属性

_constantXGradientDdata: GradientDataNumber = null
_constantXMaxGradientDdata: GradientDataNumber = null
_constantXMinGradientDdata: GradientDataNumber = null
_constantYGradientDdata: GradientDataNumber = null
_constantYMaxGradientDdata: GradientDataNumber = null
_constantYMinGradientDdata: GradientDataNumber = null
_constantZGradientDdata: GradientDataNumber = null
_constantZMaxGradientDdata: GradientDataNumber = null
_constantZMinGradientDdata: GradientDataNumber = null

访问器

  • get type(): number

    返回 number

    The type of lifetime angular velocity. 0: Constant mode, 1: Curve mode, 2: Random between two constants mode, 3: Random between two curves mode.

    生命周期角速度类型。0:常量模式,1:曲线模式,2:随机双常量模式,3:随机双曲线模式。

方法

  • 参数

    • constantMin: number

      The minimum constant angular velocity.

    • constantMax: number

      The maximum constant angular velocity.

    返回 GradientAngularVelocity

    The gradient angular velocity instance.

    Create a GradientAngularVelocity instance with random constant angular velocities between two values.

    通过随机双固定角速度创建一个 GradientAngularVelocity 实例。