Składnia
setfpscap(value: number)Aliasy
set_fps_capArgumenty
| Nazwa | Typ | Opis |
|---|---|---|
value | number | Requested FPS cap. |
Opis
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.
Wywolaj z 1 parametrami: value. Tabela argumentow wyjasnia wartosci wymagane i te, ktore doprecyzowuja zachowanie.
Nie zwraca danych. Traktuj wywolanie jako akcje i obsluguj bledy przy miejscu wywolania.
Przykład
Set the TaskScheduler FPS cap field and read it back with getfpscap.
setfpscap(240)
print(getfpscap())