構文
setfpscap(value: number)エイリアス
set_fps_cap引数
| 名前 | 型 | 説明 |
|---|---|---|
value | number | Requested FPS cap. |
説明
Sets the FPS cap value and returns no values. Values that are non-finite, less than or equal to 0, or greater than 2000 are treated as 2000.
1 個のパラメータで呼び出します: value。引数表では必須値と動作を調整する値を確認できます。
データは返しません。呼び出しをアクションとして扱い、必要なら呼び出し元でエラーを処理してください。
例
Set the TaskScheduler FPS cap field and read it back with getfpscap.
setfpscap(240)
print(getfpscap())