From 29c8e4512c2deda8e37f503f30c5a89f20e21a45 Mon Sep 17 00:00:00 2001 From: Daniel Stokes Date: Wed, 7 Aug 2013 05:24:47 +0000 Subject: Adding a fov attribute to KX_Camera. This attribute converts the field of view value and uses it to set lens. --- doc/python_api/rst/bge_types/bge.types.KX_Camera.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/python_api/rst/bge_types') 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 baf60ec0c97..0baba5c3359 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 @@ -27,6 +27,12 @@ base class --- :class:`KX_GameObject` :type: float + .. attribute:: fov + + The camera's field of view value. + + :type: float + .. attribute:: ortho_scale The camera's view scale when in orthographic mode. -- cgit v1.2.3