GPU Particles
self:set_speed_scale
ClientSets the simulation speed multiplier of the emitter
Syntax
local status = self:set_speed_scale(
scale
)Parameters
| Type | Name | Description |
|---|---|---|
float | scale | Speed scale, at least 0 — 1 is normal speed |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = particle.gpu.create()
entity:set_speed_scale(0.5)