diff options
author | Daniel Stokes <kupomail@gmail.com> | 2013-08-07 09:24:47 +0400 |
---|---|---|
committer | Daniel Stokes <kupomail@gmail.com> | 2013-08-07 09:24:47 +0400 |
commit | 29c8e4512c2deda8e37f503f30c5a89f20e21a45 (patch) | |
tree | 2971a06ddecf8c831f09dd3499441d3fd75807cf /doc/python_api/rst/bge_types | |
parent | f5c66a3676da2141b240896ad701689f83f5a143 (diff) |
Adding a fov attribute to KX_Camera. This attribute converts the field of view value and uses it to set lens.
Diffstat (limited to 'doc/python_api/rst/bge_types')
-rw-r--r-- | doc/python_api/rst/bge_types/bge.types.KX_Camera.rst | 6 |
1 files changed, 6 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 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. |