[Bf-blender-cvs] [2c2f075] master: BGE docs: resolution & fullscreen changes don't work in the embedded player
Sybren A. Stüvel
noreply at git.blender.org
Thu Sep 3 15:06:01 CEST 2015
Commit: 2c2f075929169d3b5cdc7f59e2314e35b5883681
Author: Sybren A. Stüvel
Date: Thu Sep 3 15:05:36 2015 +0200
Branches: master
https://developer.blender.org/rB2c2f075929169d3b5cdc7f59e2314e35b5883681
BGE docs: resolution & fullscreen changes don't work in the embedded player
The documentation for bge.render.{setWindowSize,setFullScreen,getFullScreen}
did not mention that those functions are no-ops when using the Blender-
embedded player.
===================================================================
M doc/python_api/rst/bge.render.rst
===================================================================
diff --git a/doc/python_api/rst/bge.render.rst b/doc/python_api/rst/bge.render.rst
index 1748ae1..f9a1f8e 100644
--- a/doc/python_api/rst/bge.render.rst
+++ b/doc/python_api/rst/bge.render.rst
@@ -108,6 +108,9 @@ Functions
Set the width and height of the window (in pixels). This also works for fullscreen applications.
+ .. NOTE::
+ Only works in the standalone player, not the Blender-embedded player.
+
:type width: integer
:type height: integer
@@ -115,12 +118,19 @@ Functions
Set whether or not the window should be fullscreen.
+ .. NOTE::
+ Only works in the standalone player, not the Blender-embedded player.
+
:type enable: bool
.. function:: getFullScreen()
Returns whether or not the window is fullscreen.
+ .. NOTE::
+ Only works in the standalone player, not the Blender-embedded player;
+ there it always returns False.
+
:rtype: bool
.. function:: getDisplayDimensions()
More information about the Bf-blender-cvs
mailing list