summaryrefslogtreecommitdiff
path: root/doc/classes/VisualShaderNodeIntUniform.xml
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2020-07-27 14:33:27 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2020-07-27 15:44:22 +0300
commit8fefdcf113c62ea9b50b02befa1df9e483d7036e (patch)
treefa70b4b422875e9d03f6b1ae26c9271082e21037 /doc/classes/VisualShaderNodeIntUniform.xml
parent8965ec124d6b2985537a53f8aad315b26358e4f8 (diff)
Added default value for uniforms in visual shaders
Diffstat (limited to 'doc/classes/VisualShaderNodeIntUniform.xml')
-rw-r--r--doc/classes/VisualShaderNodeIntUniform.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/VisualShaderNodeIntUniform.xml b/doc/classes/VisualShaderNodeIntUniform.xml
index 8c7c288177..e39eba865b 100644
--- a/doc/classes/VisualShaderNodeIntUniform.xml
+++ b/doc/classes/VisualShaderNodeIntUniform.xml
@@ -11,6 +11,12 @@
<methods>
</methods>
<members>
+ <member name="default_value" type="int" setter="set_default_value" getter="get_default_value" default="0">
+ A default value to be assigned within the shader.
+ </member>
+ <member name="default_value_enabled" type="bool" setter="set_default_value_enabled" getter="is_default_value_enabled" default="false">
+ Enables usage of the [member default_value].
+ </member>
<member name="hint" type="int" setter="set_hint" getter="get_hint" enum="VisualShaderNodeIntUniform.Hint" default="0">
A hint applied to the uniform, which controls the values it can take when set through the inspector.
</member>