summaryrefslogtreecommitdiff
path: root/doc/classes/VisualShaderNodeIntUniform.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/VisualShaderNodeIntUniform.xml')
-rw-r--r--doc/classes/VisualShaderNodeIntUniform.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/VisualShaderNodeIntUniform.xml b/doc/classes/VisualShaderNodeIntUniform.xml
index 8c7c288177..4070553884 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>
@@ -34,5 +40,8 @@
<constant name="HINT_RANGE_STEP" value="2" enum="Hint">
A range hint for scalar value with step, which limits possible input values between [member min] and [member max], with a step (increment) of [member step]). Translated to [code]hint_range(min, max, step)[/code] in shader code.
</constant>
+ <constant name="HINT_MAX" value="3" enum="Hint">
+ Represents the size of the [enum Hint] enum.
+ </constant>
</constants>
</class>