Skip to main content

Particle

Description:

  Represents a particle system node that emits and animates particles.

Class Object: Particle Class.

Inherits from: Node.

active

Type: Readonly Field.

Description:

  Whether the particle system is active.

Signature:

const active: boolean

start

Type: Function.

Description:

  Starts emitting particles.

Signature:

start: function(self: Particle)

stop

Type: Function.

Description:

  Stops emitting particles and wait for all active particles to end their lives.

Signature:

stop: function(self: Particle)