ไวยากรณ์
setfpscap(value: number)Aliases
set_fps_capArguments
| ชื่อ | ชนิด | คำอธิบาย |
|---|---|---|
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.
เรียกด้วย parameter 1 ค่า: value ตาราง arguments อธิบายค่าที่จำเป็นและค่าที่ปรับพฤติกรรม
ไม่ส่งคืนข้อมูล ให้มอง call นี้เป็น action และจัดการ error รอบจุดที่เรียกเมื่อจำเป็น
ตัวอย่าง
Set the TaskScheduler FPS cap field and read it back with getfpscap.
setfpscap(240)
print(getfpscap())