Archive 17/01/2023.

How to set the resolution of the window?

imxqliu

I want to set(at start) and reset(when running) the size of the Urho3D’ main window,but I failed in finding some function in the class Window and Engine can do it.

rasteron

Hey imxqliu,

I believe it’s the SetMode() function in here:
urho3d.github.io/documentation/1 … 3f847b425f
or here
urho3d.github.io/documentation/1 … 9e3d21d6eb

Hope that helps

imxqliu

thanks! Very Good.