Adding a fov attribute to KX_Camera. This attribute converts the field of view value and uses it to set lens.

This commit is contained in:
Daniel Stokes
2013-08-07 05:24:47 +00:00
parent f5c66a3676
commit 29c8e4512c
3 changed files with 38 additions and 0 deletions

View File

@@ -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.