GPU Particles

self:emit

Client

Starts emitting particles

Syntax

local status = self:emit()

Fires particle:emit when emission actually starts.

  • Calling it on an emitter that is already emitting does nothing and fires no signal.
  • Emitters start emitting as soon as they are created, so this is only needed after self:stop or once a one-shot cycle has finished.
  • To clear the live particles and begin a fresh cycle, use self:restart instead.

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Start emitting
local entity = particle.gpu.create()

entity:emit()

On this page