From 7adf4cc9b5de6701a41e27690a69b9892d5eed85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 30 Jul 2021 15:28:05 +0200 Subject: doc: Use self-closing tags for `return` and `argument` For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there. --- modules/gridmap/doc_classes/GridMap.xml | 120 +++++++++++--------------------- 1 file changed, 40 insertions(+), 80 deletions(-) (limited to 'modules/gridmap') diff --git a/modules/gridmap/doc_classes/GridMap.xml b/modules/gridmap/doc_classes/GridMap.xml index a2c8e8eabf..8ea7384658 100644 --- a/modules/gridmap/doc_classes/GridMap.xml +++ b/modules/gridmap/doc_classes/GridMap.xml @@ -17,119 +17,93 @@ - - + Clear all cells. - - + - - - - + + - - + Returns an array of [ArrayMesh]es and [Transform3D] references of all bake meshes that exist within the current GridMap. - - - - + + The [MeshLibrary] item index located at the given grid coordinates. If the cell is empty, [constant INVALID_CELL_ITEM] will be returned. - - - - + + The orientation of the cell at the given grid coordinates. [code]-1[/code] is returned if the cell is empty. - - - - + + Returns an individual bit on the [member collision_layer]. - - - - + + Returns an individual bit on the [member collision_mask]. - - + Returns an array of [Transform3D] and [Mesh] references corresponding to the non-empty cells in the grid. The transforms are specified in world space. - - + Returns an array of [Vector3] with the non-empty cell coordinates in the grid map. - - - - - - + + + - - - - + + Returns the position of a grid cell in the GridMap's local coordinate space. - - - - + + - - - - - - - - + + + + Sets the mesh index for the cell referenced by its grid coordinates. A negative item index such as [constant INVALID_CELL_ITEM] will clear the cell. @@ -137,46 +111,33 @@ - - - - - - - - - - + + + + + - - - - - - + + + Sets an individual bit on the [member collision_layer]. - - - - - - + + + Sets an individual bit on the [member collision_mask]. - - - - + + Returns the coordinates of the grid cell containing the given point. [code]pos[/code] should be in the GridMap's local coordinate space. @@ -223,8 +184,7 @@ - - + Emitted when [member cell_size] changes. -- cgit v1.2.3