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.
This commit is contained in:
parent
a1c19b9a1e
commit
7adf4cc9b5
408 changed files with 14025 additions and 28050 deletions
|
|
@ -14,19 +14,15 @@
|
|||
</tutorials>
|
||||
<methods>
|
||||
<method name="bake">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="from_node" type="Node" default="null">
|
||||
</argument>
|
||||
<argument index="1" name="create_visual_debug" type="bool" default="false">
|
||||
</argument>
|
||||
<return type="void" />
|
||||
<argument index="0" name="from_node" type="Node" default="null" />
|
||||
<argument index="1" name="create_visual_debug" type="bool" default="false" />
|
||||
<description>
|
||||
Bakes the effect from all [GeometryInstance3D]s marked with [constant GeometryInstance3D.GI_MODE_BAKED] and [Light3D]s marked with either [constant Light3D.BAKE_DYNAMIC] or [constant Light3D.BAKE_STATIC]. If [code]create_visual_debug[/code] is [code]true[/code], after baking the light, this will generate a [MultiMesh] that has a cube representing each solid cell with each cube colored to the cell's albedo color. This can be used to visualize the [VoxelGI]'s data and debug any issues that may be occurring.
|
||||
</description>
|
||||
</method>
|
||||
<method name="debug_bake">
|
||||
<return type="void">
|
||||
</return>
|
||||
<return type="void" />
|
||||
<description>
|
||||
Calls [method bake] with [code]create_visual_debug[/code] enabled.
|
||||
</description>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue