문법
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())