BGE Py API
authorCampbell Barton <ideasman42@gmail.com>
Thu, 14 May 2009 07:59:44 +0000 (07:59 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 14 May 2009 07:59:44 +0000 (07:59 +0000)
commitd257586fe6d59f9a7c622b460fbe38a168fb5428
tree48a84265c142ea1f7b7b96ce6dec1c5ed506ab3a
parentd2cff7307d26ada0dd34949d0a9fbb3c37c72f19
BGE Py API
scene.active_camera can now be set so you can more easily set the current camera from python scripts without using an actuator.
ConvertPythonToCamera utility function to get a camera from a python string or KX_Camera type.
source/gameengine/Ketsji/KX_Camera.cpp
source/gameengine/Ketsji/KX_Camera.h
source/gameengine/Ketsji/KX_GameObject.cpp
source/gameengine/Ketsji/KX_Scene.cpp
source/gameengine/Ketsji/KX_Scene.h
source/gameengine/Ketsji/KX_SceneActuator.cpp
source/gameengine/Ketsji/KX_SceneActuator.h
source/gameengine/PyDoc/GameTypes.py