Skip to content

Class: ParticleOverLifeColorModule

Particle module of color change over life time

Hierarchy

  • ParticleModuleBase

    ParticleOverLifeColorModule

Constructors

Accessors

Methods

Constructors

constructor

new ParticleOverLifeColorModule(): ParticleOverLifeColorModule

Returns

ParticleOverLifeColorModule

Inherited from

ParticleModuleBase.constructor

Accessors

needReset

get needReset(): boolean

Returns

boolean

Inherited from

ParticleModuleBase.needReset

Defined in

packages/particle/module/stand/ParticleModuleBase.ts:21

set needReset(v): void

Parameters

NameType
vboolean

Returns

void

Inherited from

ParticleModuleBase.needReset

Defined in

packages/particle/module/stand/ParticleModuleBase.ts:17


startColor

get startColor(): Color

Get start color

Returns

Color

Defined in

packages/particle/module/stand/ParticleOverLifeColorModule.ts:24

set startColor(v): void

Set start color

Parameters

NameType
vColor

Returns

void

Defined in

packages/particle/module/stand/ParticleOverLifeColorModule.ts:16


startAlpha

get startAlpha(): number

Get start alpha

Returns

number

Defined in

packages/particle/module/stand/ParticleOverLifeColorModule.ts:39

set startAlpha(v): void

Set start alpha

Parameters

NameType
vnumber

Returns

void

Defined in

packages/particle/module/stand/ParticleOverLifeColorModule.ts:31


endColor

get endColor(): Color

Get end color

Returns

Color

Defined in

packages/particle/module/stand/ParticleOverLifeColorModule.ts:54

set endColor(v): void

Set end color

Parameters

NameType
vColor

Returns

void

Defined in

packages/particle/module/stand/ParticleOverLifeColorModule.ts:46


endAlpha

get endAlpha(): number

Get end alpha

Returns

number

Defined in

packages/particle/module/stand/ParticleOverLifeColorModule.ts:69

set endAlpha(v): void

Set end alpha

Parameters

NameType
vnumber

Returns

void

Defined in

packages/particle/module/stand/ParticleOverLifeColorModule.ts:61

Methods

setSimulator

setSimulator(simulator): void

Parameters

NameType
simulatorParticleSimulator

Returns

void

Inherited from

ParticleModuleBase.setSimulator

Defined in

packages/particle/module/stand/ParticleModuleBase.ts:25


calculateParticle

calculateParticle(globalMemory, localMemory): void

Parameters

NameType
globalMemoryParticleGlobalMemory
localMemoryParticleLocalMemory

Returns

void

Inherited from

ParticleModuleBase.calculateParticle

Defined in

packages/particle/module/stand/ParticleModuleBase.ts:29


generateParticleModuleData

generateParticleModuleData(globalMemory, localMemory): void

Genarate particle color module with type over life time

Parameters

NameType
globalMemoryParticleGlobalMemory
localMemoryParticleLocalMemory

Returns

void

Overrides

ParticleModuleBase.generateParticleModuleData

Defined in

packages/particle/module/stand/ParticleOverLifeColorModule.ts:80