Committing patch "[#27676] Change window size/resolution in realtime" by me.

Description:
This patch allows the user to change the size of the window (or the resolution in fullscreen mode) using the new bge.render.setWindowSize() method. This only works in the Blenderplayer since it doesn't make a whole lot of sense for the embedded player.
This commit is contained in:
Mitchell Stokes
2012-01-22 20:25:25 +00:00
parent 359e961a12
commit 686ce92fe8
11 changed files with 88 additions and 1 deletions

View File

@@ -77,6 +77,14 @@ Functions
:rtype: integer
.. function:: setWindowSize(width, height)
Set the width and height of the window (in pixels). This also works for fullscreen applications.
:type width: integer
:type height: integer
.. function:: makeScreenshot(filename)
Writes a screenshot to the given filename.