Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/rst/bge_types/bge.types.KX_RaySensor.rst6
-rw-r--r--doc/python_api/rst/bge_types/bge.types.KX_TouchSensor.rst6
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge_types/bge.types.KX_RaySensor.rst b/doc/python_api/rst/bge_types/bge.types.KX_RaySensor.rst
index 2ff989729f5..f182a84409f 100644
--- a/doc/python_api/rst/bge_types/bge.types.KX_RaySensor.rst
+++ b/doc/python_api/rst/bge_types/bge.types.KX_RaySensor.rst
@@ -51,6 +51,12 @@ base class --- :class:`SCA_ISensor`
:type: list [x, y, z]
+ .. attribute:: hitMaterial
+
+ The material of the object in the face hit by the ray. (read-only).
+
+ :type: string
+
.. attribute:: rayDirection
The direction from the ray (in worldcoordinates). (read-only).
diff --git a/doc/python_api/rst/bge_types/bge.types.KX_TouchSensor.rst b/doc/python_api/rst/bge_types/bge.types.KX_TouchSensor.rst
index fd8f319f6f3..876d14bc6c8 100644
--- a/doc/python_api/rst/bge_types/bge.types.KX_TouchSensor.rst
+++ b/doc/python_api/rst/bge_types/bge.types.KX_TouchSensor.rst
@@ -39,3 +39,9 @@ base class --- :class:`SCA_ISensor`
:type: :class:`CListValue` of :class:`KX_GameObject`
+ .. attribute:: hitMaterial
+
+ The material of the object in the face hit by the ray. (read-only).
+
+ :type: string
+