浏览代码

Document MeshInstance::create_debug_tangents

Also cleanup some excessive usage of hyperlinks (edit by @akien-mga).
[ci skip]
Pavan Kumar 7 年之前
父节点
当前提交
4e0bcf1e99
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      doc/classes/MeshInstance.xml

+ 4 - 3
doc/classes/MeshInstance.xml

@@ -4,7 +4,7 @@
 		Node that instances meshes into a scenario.
 		Node that instances meshes into a scenario.
 	</brief_description>
 	</brief_description>
 	<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>
 	</description>
 	<tutorials>
 	<tutorials>
 	</tutorials>
 	</tutorials>
@@ -15,20 +15,21 @@
 			<return type="void">
 			<return type="void">
 			</return>
 			</return>
 			<description>
 			<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>
 			</description>
 		</method>
 		</method>
 		<method name="create_debug_tangents">
 		<method name="create_debug_tangents">
 			<return type="void">
 			<return type="void">
 			</return>
 			</return>
 			<description>
 			<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>
 			</description>
 		</method>
 		</method>
 		<method name="create_trimesh_collision">
 		<method name="create_trimesh_collision">
 			<return type="void">
 			<return type="void">
 			</return>
 			</return>
 			<description>
 			<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>
 			</description>
 		</method>
 		</method>
 		<method name="get_surface_material" qualifiers="const">
 		<method name="get_surface_material" qualifiers="const">