Class: ParticleOverLifeColorModule
Particle module of color change over life time
Hierarchy
ParticleModuleBase
↳
ParticleOverLifeColorModule
Constructors
Accessors
Methods
Constructors
constructor
• new ParticleOverLifeColorModule(): ParticleOverLifeColorModule
Returns
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
Name | Type |
---|---|
v | boolean |
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
Name | Type |
---|---|
v | Color |
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
Name | Type |
---|---|
v | number |
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
Name | Type |
---|---|
v | Color |
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
Name | Type |
---|---|
v | number |
Returns
void
Defined in
packages/particle/module/stand/ParticleOverLifeColorModule.ts:61
Methods
setSimulator
▸ setSimulator(simulator
): void
Parameters
Name | Type |
---|---|
simulator | ParticleSimulator |
Returns
void
Inherited from
ParticleModuleBase.setSimulator
Defined in
packages/particle/module/stand/ParticleModuleBase.ts:25
calculateParticle
▸ calculateParticle(globalMemory
, localMemory
): void
Parameters
Name | Type |
---|---|
globalMemory | ParticleGlobalMemory |
localMemory | ParticleLocalMemory |
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
Name | Type |
---|---|
globalMemory | ParticleGlobalMemory |
localMemory | ParticleLocalMemory |
Returns
void
Overrides
ParticleModuleBase.generateParticleModuleData
Defined in
packages/particle/module/stand/ParticleOverLifeColorModule.ts:80