summaryrefslogtreecommitdiff
path: root/doc/classes/ShaderMaterial.xml
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2022-08-06 21:11:48 +0300
committerYuri Sizov <yuris@humnom.net>2022-08-08 22:34:31 +0300
commitc5d7115038de5f83cb83e08748615a84fc26bee2 (patch)
tree13b9b42aac25f7769428ef91f637e260b768f25d /doc/classes/ShaderMaterial.xml
parent35c1eae8d70eb6ae49495339b95f89bcd084c3f2 (diff)
Rename the argument tag to param in XML documentation
Diffstat (limited to 'doc/classes/ShaderMaterial.xml')
-rw-r--r--doc/classes/ShaderMaterial.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/classes/ShaderMaterial.xml b/doc/classes/ShaderMaterial.xml
index 1208b93a62..3e2247c022 100644
--- a/doc/classes/ShaderMaterial.xml
+++ b/doc/classes/ShaderMaterial.xml
@@ -12,29 +12,29 @@
<methods>
<method name="get_shader_uniform" qualifiers="const">
<return type="Variant" />
- <argument index="0" name="param" type="StringName" />
+ <param index="0" name="param" type="StringName" />
<description>
Returns the current value set for this material of a uniform in the shader.
</description>
</method>
<method name="property_can_revert">
<return type="bool" />
- <argument index="0" name="name" type="String" />
+ <param index="0" name="name" type="String" />
<description>
Returns [code]true[/code] if the property identified by [code]name[/code] can be reverted to a default value.
</description>
</method>
<method name="property_get_revert">
<return type="Variant" />
- <argument index="0" name="name" type="String" />
+ <param index="0" name="name" type="String" />
<description>
Returns the default value of the material property with given [code]name[/code].
</description>
</method>
<method name="set_shader_uniform">
<return type="void" />
- <argument index="0" name="param" type="StringName" />
- <argument index="1" name="value" type="Variant" />
+ <param index="0" name="param" type="StringName" />
+ <param index="1" name="value" type="Variant" />
<description>
Changes the value set for this material of a uniform in the shader.
[b]Note:[/b] [code]param[/code] must match the name of the uniform in the code exactly.