GetDebugFPS()

grandMA3 ユーザマニュアル » プラグイン » Lua 関数 - Object-Free API » GetDebugFPS() Version 2.0

説明

The GetDebugFPS Lua function returns a float number with the frames per second.

引数

この関数は、引数を受け取りません。

戻り値

  • Number:
    The returned number indicates the current frames per second.

This example prints the FPS number:

Lua
return function ()
-- Prints the current frames per second.
Printf("Current FPS: " .. GetDebugFPS())
end