GPU Particles

self:get_fixed_fps

Client

Retrieves the fixed simulation framerate of the emitter

Syntax

local fps = self:get_fixed_fps()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
intfpsFixed framerate, 0 when the emitter is not locked to a framerate

Examples

Get the fixed framerate
local entity = particle.gpu.create()

core.engine.print("info", entity:get_fixed_fps())

On this page