GPU Particles
self:set_fixed_fps
ClientSets the fixed simulation framerate of the emitter
Syntax
local status = self:set_fixed_fps(
fps
)Parameters
| Type | Name | Description |
|---|---|---|
int | fps | Fixed framerate, 0 to follow the render framerate |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = particle.gpu.create()
entity:set_fixed_fps(30)