MCPcopy
hub / github.com/KilledByAPixel/LittleJS / render

Method render

src/engineParticles.js:291–296  ·  view source on GitHub ↗

Render all particles for this emitter

()

Source from the content-addressed store, hash-verified

289
290 /** Render all particles for this emitter */
291 render()
292 {
293 // render all particles
294 for (const particle of this.particles)
295 particle.render();
296 }
297
298 /** is emitter actively spawning */
299 isActive() { return !this.emitTime || this.getAliveTime() < this.emitTime; }

Callers

nothing calls this directly

Calls 1

renderMethod · 0.45

Tested by

no test coverage detected