How to set the resolution of the window?

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.

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

thanks! Very Good.