GPU Particles
self:get_fixed_fps
ClientRetrieves the fixed simulation framerate of the emitter
Syntax
local fps = self:get_fixed_fps()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
int | fps | Fixed framerate, 0 when the emitter is not locked to a framerate |
Examples
local entity = particle.gpu.create()
core.engine.print("info", entity:get_fixed_fps())