setMaxFPS
Script::setMaxFPS
Sets the maximum number of frames per second.
Declaration
void setMaxFPS(uint32_t maxFPS);
Parameters
Name |
Type |
Description |
|---|---|---|
maxFPS |
uint32_t |
The maximum number of frames per second. |
Returns
None.
Notes
A maxFPS of 0 removes the frames per second limit.