GPU Particles
self:is_one_shot
ClientChecks whether the emitter emits a single cycle and then stops
Syntax
local result = self:is_one_shot()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if the emitter is one-shot, false otherwise |
Examples
local entity = particle.gpu.create()
core.engine.print("info", entity:is_one_shot())