[Bf-blender-cvs] [5c6ef95] master: Docs: touch ups in the bge.render doc introduction
Dalai Felinto
noreply at git.blender.org
Thu Jan 22 06:20:54 CET 2015
Commit: 5c6ef95b716b97f4d2bc7902049ecf4451e255fd
Author: Dalai Felinto
Date: Thu Jan 22 03:20:39 2015 -0200
Branches: master
https://developer.blender.org/rB5c6ef95b716b97f4d2bc7902049ecf4451e255fd
Docs: touch ups in the bge.render doc introduction
===================================================================
M doc/python_api/rst/bge.render.rst
===================================================================
diff --git a/doc/python_api/rst/bge.render.rst b/doc/python_api/rst/bge.render.rst
index 03db3bf..77d5bd7 100644
--- a/doc/python_api/rst/bge.render.rst
+++ b/doc/python_api/rst/bge.render.rst
@@ -8,9 +8,13 @@ Intro
.. module:: bge.render
+Example of using a :class:`bge.types.SCA_MouseSensor`, and two :class:`bge.types.KX_ObjectActuator` to implement MouseLook:
+
+.. note::
+ This can also be achieved with the :class:`bge.types.KX_MouseActuator`.
+
.. code-block:: python
- # Example Uses an L{SCA_MouseSensor}, and two L{KX_ObjectActuator}s to implement MouseLook::
# To use a mouse movement sensor "Mouse" and a
# motion actuator to mouse look:
import bge
More information about the Bf-blender-cvs
mailing list