ParticleEmitter Class

Extends Points
Module: Particles

Particle emitter is a wrapper for SPE particle system.

SPE is a threejs based particle emitter engine.

Documentation for SPE particle engine can be found here https://squarefeet.github.io/ShaderParticleEngine/docs/api/index.html

Constructor

ParticleEmitter

()

Item Index

Properties

Methods

dispose

()

Dispose particle emitter.

Should be called when destroying particle emitter.

initialize

()

Initialize particle system.

raycast

()

Particle emitter cannot be detected by raycaster.

The raycast method allways returns null.

Returns:

Null.

toJSON

(
  • meta
)
Object

Serialize object to JSON.

Parameters:

  • meta Object

Returns:

Object:

json

update

()

Update particle emitter state.

Properties

emitter

SPE.Emitter

SPE Emitter instance.

Emitter has attributes that can be used to controll the particle system

https://squarefeet.github.io/ShaderParticleEngine/docs/api/SPE.Emitter.html

Attributes

defaultEmitter

Object

Default particle emitter configuration.

defaultGroup

Object

Default particle emitter group configuration.