Docs: touch ups in the bge.render doc introduction
This commit is contained in:
@@ -8,9 +8,13 @@ Intro
|
|||||||
|
|
||||||
.. module:: bge.render
|
.. 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
|
.. 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
|
# To use a mouse movement sensor "Mouse" and a
|
||||||
# motion actuator to mouse look:
|
# motion actuator to mouse look:
|
||||||
import bge
|
import bge
|
||||||
|
Reference in New Issue
Block a user