GPU Particles
self:set_explosiveness
ClientSets how much of the emission happens at once
Syntax
local status = self:set_explosiveness(
ratio
)Parameters
| Type | Name | Description |
|---|---|---|
float | ratio | Explosiveness between 0 (steady stream) and 1 (every particle at once) |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = particle.gpu.create()
entity:set_explosiveness(1)