| grandMA3 ユーザマニュアル » プラグイン » Lua 関数 - Object-Free API » GetDebugFPS() | Version 2.2 |
GetDebugFPS 関数は、1秒あたりのフレーム数を示す浮動小数点数を返します。
この関数は、引数を受け取りません。
1秒あたりのフレーム数(FPS)を出力します。
Lua |
return function () -- Prints the current frames per second. Printf("Current FPS: " .. GetDebugFPS()) end |