setWindowFullscreen
Script::setWindowFullscreen
Puts the window in fullscreen or windowed.
Declaration
void setWindowFullscreen(bool fullscreen, WindowID windowID = NTSHENGN_WINDOW_UNKNOWN);
Parameters
Name |
Type |
Description |
---|---|---|
fullscreen |
bool |
Fullscreen ( |
windowID |
The window to change the fullscreen mode of. By default, this window will be the main window. |
Returns
None.
Notes
The main window will be used if windowID
is equal to NTSHENGN_WINDOW_UNKNOWN
.