Here is a list of functions the window class provides to play around with.
The default window Icon looks boring and unprofessional, so let's change that.
window.SetIcon(/*Path to your Icon here*/);
If you want your title changed later on, you can use the SetTitle function:
window.SetTitle("New Title");
You can also maximize and minimize the window:
window.Maximize(); window.Minimize();
For setting it to fullscreen you type
window.SetFullscreen(true); // true = enable, false = disable
If you want to provide a custom GLFWmonitor you can specify it in the second parameter.
To set the window size you can call
window.SetSize(600, 600);
You can also change its position on the screen:
window.SetPosition(200, 200); // In pixels
window.HideCursor(true) // Hide or unhide the cursor in the window
window.SetCursorinCameraMode
There was an error while loading. Please reload this page.