summaryrefslogtreecommitdiff
path: root/doc/classes/ShaderMaterial.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/ShaderMaterial.xml')
-rw-r--r--doc/classes/ShaderMaterial.xml16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/classes/ShaderMaterial.xml b/doc/classes/ShaderMaterial.xml
index 1208b93a62..92df3255b1 100644
--- a/doc/classes/ShaderMaterial.xml
+++ b/doc/classes/ShaderMaterial.xml
@@ -12,32 +12,32 @@
<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.
+ Returns [code]true[/code] if the property identified by [param name] 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].
+ Returns the default value of the material property with given [param name].
</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.
+ [b]Note:[/b] [param param] must match the name of the uniform in the code exactly.
</description>
</method>
</methods>