Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ColorOvertimeModule

Hierarchy

  • ParticleModuleBase
    • ColorOvertimeModule

Implements

  • IParticleModule

Index

Properties

_enable

_enable: boolean = false

color

color: GradientRange = new GradientRange()
zh

颜色随时间变化的参数,各个 key 之间线性差值变化。

name

name: string = PARTICLE_MODULE_NAME.COLOR

needAnimate

needAnimate: Boolean = true

needUpdate

needUpdate: Boolean = false

target

target: IParticleSystemRenderer | null = null

Accessors

enable

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

Methods

animate

  • animate(particle: Particle): void

bindTarget

  • bindTarget(target: IParticleSystemRenderer): void

update

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

Generated using TypeDoc