Przeglądaj źródła

Merge pull request #55007 from norling/master

Rémi Verschelde 3 lat temu
rodzic
commit
90dae713a1
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      doc/classes/NavigationMesh.xml

+ 1 - 0
doc/classes/NavigationMesh.xml

@@ -28,6 +28,7 @@
 			<argument index="0" name="mesh" type="Mesh" />
 			<argument index="0" name="mesh" type="Mesh" />
 			<description>
 			<description>
 				Initializes the navigation mesh by setting the vertices and indices according to a [Mesh].
 				Initializes the navigation mesh by setting the vertices and indices according to a [Mesh].
+				[b]Note:[/b] The given [code]mesh[/code] must be of type [constant Mesh.PRIMITIVE_TRIANGLES] and have an index array.
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="get_collision_mask_value" qualifiers="const">
 		<method name="get_collision_mask_value" qualifiers="const">