Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2015-07-02 19:47:27 +0300
committerDalai Felinto <dfelinto@gmail.com>2015-07-02 19:51:30 +0300
commitfdb474fc8ab8dd8c4290808569bb89e3976928ad (patch)
treec4a34c1596c191db7b91e3399bd995f2a5bb37ab /doc
parent145d3540b3e2dafa9351c79a463c230304ce0ae5 (diff)
Game Engine: Camera Lens Shift: support to change it during game
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/rst/bge_types/bge.types.KX_Camera.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge_types/bge.types.KX_Camera.rst b/doc/python_api/rst/bge_types/bge.types.KX_Camera.rst
index 0baba5c3359..ac5ab4b5fe5 100644
--- a/doc/python_api/rst/bge_types/bge.types.KX_Camera.rst
+++ b/doc/python_api/rst/bge_types/bge.types.KX_Camera.rst
@@ -51,6 +51,18 @@ base class --- :class:`KX_GameObject`
:type: float
+ .. attribute:: shift_x
+
+ The camera's horizontal shift.
+
+ :type: float
+
+ .. attribute:: shift_y
+
+ The camera's vertical shift.
+
+ :type: float
+
.. attribute:: perspective
True if this camera has a perspective transform, False for an orthographic projection.