mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Change "Return" to "Returns" where necessary in XML documentation
In many of the XML files it had been noted that when the documentation
refers to a return value, both "Return" and "Returns" are used. This
has now been fixed to only say "Returns".
Fixes #28867
(cherry picked from commit 426bcc9941)
This commit is contained in:
committed by
Rémi Verschelde
parent
ce786bd100
commit
d846a0aaa3
@@ -98,7 +98,7 @@
|
||||
<argument index="0" name="name" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Return the index of the first surface with this name held within this [code]ArrayMesh[/code]. If none are found -1 is returned.
|
||||
Returns the index of the first surface with this name held within this [code]ArrayMesh[/code]. If none are found -1 is returned.
|
||||
</description>
|
||||
</method>
|
||||
<method name="surface_get_array_index_len" qualifiers="const">
|
||||
@@ -107,7 +107,7 @@
|
||||
<argument index="0" name="surf_idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Return the length in indices of the index array in the requested surface (see [method add_surface_from_arrays]).
|
||||
Returns the length in indices of the index array in the requested surface (see [method add_surface_from_arrays]).
|
||||
</description>
|
||||
</method>
|
||||
<method name="surface_get_array_len" qualifiers="const">
|
||||
@@ -116,7 +116,7 @@
|
||||
<argument index="0" name="surf_idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Return the length in vertices of the vertex array in the requested surface (see [method add_surface_from_arrays]).
|
||||
Returns the length in vertices of the vertex array in the requested surface (see [method add_surface_from_arrays]).
|
||||
</description>
|
||||
</method>
|
||||
<method name="surface_get_format" qualifiers="const">
|
||||
@@ -125,7 +125,7 @@
|
||||
<argument index="0" name="surf_idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Return the format mask of the requested surface (see [method add_surface_from_arrays]).
|
||||
Returns the format mask of the requested surface (see [method add_surface_from_arrays]).
|
||||
</description>
|
||||
</method>
|
||||
<method name="surface_get_name" qualifiers="const">
|
||||
@@ -143,7 +143,7 @@
|
||||
<argument index="0" name="surf_idx" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Return the primitive type of the requested surface (see [method add_surface_from_arrays]).
|
||||
Returns the primitive type of the requested surface (see [method add_surface_from_arrays]).
|
||||
</description>
|
||||
</method>
|
||||
<method name="surface_remove">
|
||||
|
||||
Reference in New Issue
Block a user