setfpscap
Changes the engine target frame-rate cap.
The value is truncated to an integer after clamping. This controls a target cap, not the frame rate the device can achieve.
setfpscap(fps: number): ()Parameters
| Parameter | Type | Description |
|---|---|---|
fps | number | Target FPS. Non-positive values select 0; values above 16,384 are clamped. |
