EnvironmentOverview
setfpscap
Represents configuration of a frame-rate limit.
Details#
Changes the requested local frame-rate cap using a numeric value. Actual frame rate still depends on rendering load. Save the previous cap if the change is temporary.
Examples#
Example
local previous = getfpscap()
setfpscap(60)
print(getfpscap())
setfpscap(previous)