diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2021-01-18 12:23:04 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2021-01-18 13:32:12 +0300 |
commit | de5a8128d7bb79be59fe5138b2e36db0f1bf2b3b (patch) | |
tree | d84b08aae8f63260192256efaf18aaeac5af01d8 /doc/classes/VisualShaderNodeIntFunc.xml | |
parent | 49b5776e8bd62b4bfb6511cca770611b6a3062e4 (diff) | |
download | redot-engine-de5a8128d7bb79be59fe5138b2e36db0f1bf2b3b.tar.gz |
Unified several visual shader nodes
Diffstat (limited to 'doc/classes/VisualShaderNodeIntFunc.xml')
-rw-r--r-- | doc/classes/VisualShaderNodeIntFunc.xml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/classes/VisualShaderNodeIntFunc.xml b/doc/classes/VisualShaderNodeIntFunc.xml index 5c68c0ec71..a9f4144a01 100644 --- a/doc/classes/VisualShaderNodeIntFunc.xml +++ b/doc/classes/VisualShaderNodeIntFunc.xml @@ -11,7 +11,7 @@ <methods> </methods> <members> - <member name="function" type="int" setter="set_function" getter="get_function" enum="VisualShaderNodeIntFunc.Function" default="3"> + <member name="function" type="int" setter="set_function" getter="get_function" enum="VisualShaderNodeIntFunc.Function" default="2"> A function to be applied to the scalar. See [enum Function] for options. </member> </members> @@ -19,13 +19,10 @@ <constant name="FUNC_ABS" value="0" enum="Function"> Returns the absolute value of the parameter. Translates to [code]abs(x)[/code] in the Godot Shader Language. </constant> - <constant name="FUNC_CLAMP" value="1" enum="Function"> - Constrains a parameter between [code]min[/code] and [code]max[/code]. Translates to [code]clamp(x, min, max)[/code] in the Godot Shader Language. - </constant> - <constant name="FUNC_NEGATE" value="2" enum="Function"> + <constant name="FUNC_NEGATE" value="1" enum="Function"> Negates the [code]x[/code] using [code]-(x)[/code]. </constant> - <constant name="FUNC_SIGN" value="3" enum="Function"> + <constant name="FUNC_SIGN" value="2" enum="Function"> Extracts the sign of the parameter. Translates to [code]sign(x)[/code] in the Godot Shader Language. </constant> </constants> |