GPU Particles
self:get_explosiveness
ClientRetrieves how much of the emission happens at once
Syntax
local ratio = self:get_explosiveness()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | ratio | Explosiveness between 0 (steady stream) and 1 (every particle at once) |
Examples
local entity = particle.gpu.create()
core.engine.print("info", entity:get_explosiveness())