Jump to content

How to manipulate app window size?


photo

Recommended Posts

Posted

I am trying to save / restore app window size & position through UnigineScript. Getting & setting position is easy (engine.app.getPosition, engine.app.setPosition). Getting size is also easy (engine.app.getWidth, engine.app.getHeight). Setting size does not appear so straightforward. How can I achieve this?

Posted

Hi Adam,

 

Unfortunatelly, there is no script api to do this. Only in C++ App::setVideoMode.

Posted

OK, that is what I suspected. I will write a hack to make it work. :)

×
×
  • Create New...