diff options
Diffstat (limited to 'doc/python_api/rst/bge_types/bge.types.KX_CameraActuator.rst')
-rw-r--r-- | doc/python_api/rst/bge_types/bge.types.KX_CameraActuator.rst | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge_types/bge.types.KX_CameraActuator.rst b/doc/python_api/rst/bge_types/bge.types.KX_CameraActuator.rst new file mode 100644 index 00000000000..bc5efed4b08 --- /dev/null +++ b/doc/python_api/rst/bge_types/bge.types.KX_CameraActuator.rst @@ -0,0 +1,47 @@ +KX_CameraActuator(SCA_IActuator) +================================ + +.. module:: bge.types + +base class --- :class:`SCA_IActuator` + +.. class:: KX_CameraActuator(SCA_IActuator) + + Applies changes to a camera. + + .. attribute:: damping + + strength of of the camera following movement. + + :type: float + + .. attribute:: axis + + The camera axis (0, 1, 2) for positive ``XYZ``, (3, 4, 5) for negative ``XYZ``. + + :type: int + + .. attribute:: min + + minimum distance to the target object maintained by the actuator. + + :type: float + + .. attribute:: max + + maximum distance to stay from the target object. + + :type: float + + .. attribute:: height + + height to stay above the target object. + + :type: float + + .. attribute:: object + + the object this actuator tracks. + + :type: :class:`KX_GameObject` or None + |