Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RotationOvertimeModule

Hierarchy

  • ParticleModuleBase
    • RotationOvertimeModule

Implements

  • IParticleModule

Index

Properties

_enable

_enable: Boolean = false

Private _separateAxes

_separateAxes: boolean = false

name

name: string = PARTICLE_MODULE_NAME.ROTATION

needAnimate

needAnimate: Boolean = true

needUpdate

needUpdate: Boolean = false

target

target: IParticleSystemRenderer | null = null

x

x: CurveRange = new CurveRange()

绕 X 轴设定旋转。

y

y: CurveRange = new CurveRange()

绕 Y 轴设定旋转。

z

z: CurveRange = new CurveRange()

绕 Z 轴设定旋转。

Accessors

enable

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

separateAxes

  • get separateAxes(): boolean
  • set separateAxes(val: boolean): void

Methods

animate

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

bindTarget

  • bindTarget(target: IParticleSystemRenderer): void

update

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

Generated using TypeDoc