Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LimitVelocityOvertimeModule

Hierarchy

  • ParticleModuleBase
    • LimitVelocityOvertimeModule

Implements

  • IParticleModule

Index

Constructors

constructor

Properties

_enable

_enable: Boolean = false

dampen

dampen: number = 3

当前速度与速度下限的插值。

drag

drag: null = null

limit

limit: CurveRange = new CurveRange()

速度下限。

limitX

limitX: CurveRange = new CurveRange()

X 轴方向上的速度下限。

limitY

limitY: CurveRange = new CurveRange()

Y 轴方向上的速度下限。

limitZ

limitZ: CurveRange = new CurveRange()

Z 轴方向上的速度下限。

multiplyDragByParticleSize

multiplyDragByParticleSize: boolean = false

multiplyDragByParticleVelocity

multiplyDragByParticleVelocity: boolean = false

name

name: string = PARTICLE_MODULE_NAME.LIMIT

needAnimate

needAnimate: Boolean = true

Private needTransform

needTransform: boolean

needUpdate

needUpdate: Boolean = false

Private rotation

rotation: Quat

separateAxes

separateAxes: boolean = false

是否三个轴分开限制。

space

space: number = Space.Local

计算速度下限时采用的坐标系 Space

target

target: IParticleSystemRenderer | null = null

Accessors

enable

  • get enable(): Boolean
  • set enable(val: Boolean): void

Methods

animate

  • animate(p: Particle, dt: number): void

bindTarget

  • bindTarget(target: IParticleSystemRenderer): void

update

  • update(space: number, worldTransform: Mat4): void

Generated using TypeDoc