summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPavan Kumar <digitalmonkeypa1@gmail.com>2017-12-09 10:57:22 +0530
committerRĂ©mi Verschelde <rverschelde@gmail.com>2017-12-09 14:57:34 +0100
commit4e0bcf1e9948e35d74931331cb1606d292597701 (patch)
treed9676d0765a1561348af157873ae8b09a9b019cd /doc
parentb5813bddeb1cfc693f1e1333b3a41c51ab18ec7c (diff)
Document MeshInstance::create_debug_tangents
Also cleanup some excessive usage of hyperlinks (edit by @akien-mga). [ci skip]
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/MeshInstance.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/classes/MeshInstance.xml b/doc/classes/MeshInstance.xml
index f754341fef..ac26c2946f 100644
--- a/doc/classes/MeshInstance.xml
+++ b/doc/classes/MeshInstance.xml
@@ -4,7 +4,7 @@
Node that instances meshes into a scenario.
</brief_description>
<description>
- MeshInstance is a [Node] that takes a [Mesh] resource and adds it to the current scenario by creating an instance of it. This is the class most often used to get 3D geometry rendered and can be used to instance a single [Mesh] in many places. This allows to reuse geometry and save on resources. When a [Mesh] has to be instanced more than thousands of times at close proximity, consider using a [MultiMesh] in a [MultiMeshInstance] instead.
+ MeshInstance is a node that takes a [Mesh] resource and adds it to the current scenario by creating an instance of it. This is the class most often used to get 3D geometry rendered and can be used to instance a single [Mesh] in many places. This allows to reuse geometry and save on resources. When a [Mesh] has to be instanced more than thousands of times at close proximity, consider using a [MultiMesh] in a [MultiMeshInstance] instead.
</description>
<tutorials>
</tutorials>
@@ -15,20 +15,21 @@
<return type="void">
</return>
<description>
- This helper creates a [StaticBody] child [Node] with a [ConvexPolygonShape] [CollisionShape] calculated from the mesh geometry. It's mainly used for testing.
+ This helper creates a [StaticBody] child node with a [ConvexPolygonShape] collision shape calculated from the mesh geometry. It's mainly used for testing.
</description>
</method>
<method name="create_debug_tangents">
<return type="void">
</return>
<description>
+ This helper creates a [MeshInstance] child node with gizmos at every vertex calculated from the mesh geometry. It's mainly used for testing.
</description>
</method>
<method name="create_trimesh_collision">
<return type="void">
</return>
<description>
- This helper creates a [StaticBody] child [Node] with a [ConcavePolygonShape] [CollisionShape] calculated from the mesh geometry. It's mainly used for testing.
+ This helper creates a [StaticBody] child node with a [ConcavePolygonShape] collision shape calculated from the mesh geometry. It's mainly used for testing.
</description>
</method>
<method name="get_surface_material" qualifiers="const">