Cú pháp
getfpscap(): numberAlias
get_fps_capGiá trị trả về
| Tên | Kiểu | Mô tả |
|---|---|---|
fpsCap | number | Current FPS cap value, or 0 when unavailable. |
Mô tả
Returns the current FPS cap value represented by Roblox, or 0 when the value cannot be read.
Goi khong can parameter. Function doc context can thiet tu runtime state hien tai.
Tra ve fpsCap (number). Dung bang returns de tach gia tri thanh cong, ket qua nil va loi co the xu ly.
Ví dụ
Read the FPS cap value currently represented by the TaskScheduler cap field.
local fpsCap = getfpscap()
print(fpsCap)