diff options
author | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-07-20 16:07:06 +0400 |
---|---|---|
committer | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-07-20 16:07:06 +0400 |
commit | b6e0899607aa1b55da590bfb233e7c186a0bc6c3 (patch) | |
tree | 9d91b5a9126ffa2a0b4b7aa4a82d296241f3fe74 /source/gameengine/PyDoc/KX_Camera.py | |
parent | 7b3b3ae432f692ed32f57aa70bdab5b89a05be21 (diff) |
Added support for cameras in Blender's Ortho mode.
Diffstat (limited to 'source/gameengine/PyDoc/KX_Camera.py')
-rw-r--r-- | source/gameengine/PyDoc/KX_Camera.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/gameengine/PyDoc/KX_Camera.py b/source/gameengine/PyDoc/KX_Camera.py index 939da3da591..4cadf1c0ed0 100644 --- a/source/gameengine/PyDoc/KX_Camera.py +++ b/source/gameengine/PyDoc/KX_Camera.py @@ -17,6 +17,15 @@ class KX_Camera(KX_GameObject): @type near: float @ivar far: The camera's far clip distance. @type far: float + @ivar perspective: True if this camera has a perspective transform. + + If perspective is False, this camera has an orthographic transform. + + Note that the orthographic transform is faked by multiplying the lens attribute + by 100.0 and translating the camera 100.0 along the z axis. + + This is the same as Blender. If you want a true orthographic transform, see L{setProjectionMatrix}. + @type perspective: boolean @ivar frustum_culling: True if this camera is frustum culling. @type frustum_culling: boolean @ivar projection_matrix: This camera's 4x4 projection matrix. |