projects
/
blender.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ed439b
)
Docs: touch ups in the bge.render doc introduction
author
Dalai Felinto <dfelinto@gmail.com>
Thu, 22 Jan 2015 05:20:39 +0000
(
03:20
-0200)
committer
Dalai Felinto <dfelinto@gmail.com>
Thu, 22 Jan 2015 05:20:39 +0000
(
03:20
-0200)
doc/python_api/rst/bge.render.rst
patch
|
blob
|
history
diff --git
a/doc/python_api/rst/bge.render.rst
b/doc/python_api/rst/bge.render.rst
index 03db3bf3b76deefde3cc6df304fb740ea0b944f3..77d5bd717610308c7f04acf4d1354e9c75730d21 100644
(file)
--- 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