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
zh

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

drag

drag: null = null

limit

limit: CurveRange = new CurveRange()
zh

速度下限。

limitX

limitX: CurveRange = new CurveRange()
zh

X 轴方向上的速度下限。

limitY

limitY: CurveRange = new CurveRange()
zh

Y 轴方向上的速度下限。

limitZ

limitZ: CurveRange = new CurveRange()
zh

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
zh

是否三个轴分开限制。

space

space: number = Space.Local
zh

计算速度下限时采用的坐标系 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