diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-08 22:50:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-08 22:50:35 +0200 |
commit | 682dbe5d00aa7730659771b16704eba83f166a7b (patch) | |
tree | 8555e07c3bfb3b2892d530bc93fbf47d14519e35 /doc/classes/VoxelGI.xml | |
parent | d9d5990c517b63f41881de05cb4644c36e0c77e0 (diff) | |
parent | c5d7115038de5f83cb83e08748615a84fc26bee2 (diff) |
Merge pull request #64008 from YuriSizov/doctool-add-param-reference-syntax
Diffstat (limited to 'doc/classes/VoxelGI.xml')
-rw-r--r-- | doc/classes/VoxelGI.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/VoxelGI.xml b/doc/classes/VoxelGI.xml index d941185d33..ba4995a5fb 100644 --- a/doc/classes/VoxelGI.xml +++ b/doc/classes/VoxelGI.xml @@ -16,8 +16,8 @@ <methods> <method name="bake"> <return type="void" /> - <argument index="0" name="from_node" type="Node" default="null" /> - <argument index="1" name="create_visual_debug" type="bool" default="false" /> + <param index="0" name="from_node" type="Node" default="null" /> + <param index="1" name="create_visual_debug" type="bool" default="false" /> <description> Bakes the effect from all [GeometryInstance3D]s marked with [constant GeometryInstance3D.GI_MODE_STATIC] and [Light3D]s marked with either [constant Light3D.BAKE_STATIC] or [constant Light3D.BAKE_DYNAMIC]. 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. [b]Note:[/b] [method bake] works from the editor and in exported projects. This makes it suitable for procedurally generated or user-built levels. Baking a [VoxelGI] node generally takes from 5 to 20 seconds in most scenes. Reducing [member subdiv] can speed up baking. |