GPU Particles
self:get_randomness
ClientRetrieves how random the emission timing is
Syntax
local ratio = self:get_randomness()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | ratio | Randomness between 0 and 1 |
Examples
local entity = particle.gpu.create()
core.engine.print("info", entity:get_randomness())