diff options
Diffstat (limited to 'doc/python_api/rst/bge.render.rst')
-rw-r--r-- | doc/python_api/rst/bge.render.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge.render.rst b/doc/python_api/rst/bge.render.rst index eeb50a833ff..ddc05ac1d8c 100644 --- a/doc/python_api/rst/bge.render.rst +++ b/doc/python_api/rst/bge.render.rst @@ -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. |