Skip to content

Class: ParticleOverLifeSpeedModule

Particle module of move speed over life time

Hierarchy

  • ParticleModuleBase

    ParticleOverLifeSpeedModule

Constructors

Properties

Accessors

Methods

Constructors

constructor

new ParticleOverLifeSpeedModule(): ParticleOverLifeSpeedModule

Returns

ParticleOverLifeSpeedModule

Inherited from

ParticleModuleBase.constructor

Properties

speedSegments

speedSegments: Vector4[]

Describe the velocity change of particles from birth to end

Defined in

packages/particle/module/stand/ParticleOverLifeSpeedModule.ts:15

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

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 move speed module with type over life time

Parameters

NameType
globalMemoryParticleGlobalMemory
localMemoryParticleLocalMemory

Returns

void

Overrides

ParticleModuleBase.generateParticleModuleData

Defined in

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