2018-07-26 09:56:21 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2022-02-14 13:18:53 +00:00
<class name= "VisualShaderNodeVectorFunc" inherits= "VisualShaderNodeVectorBase" version= "4.0" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2018-07-26 09:56:21 +00:00
<brief_description >
2020-05-07 09:19:23 +00:00
A vector function to be used within the visual shader graph.
2018-07-26 09:56:21 +00:00
</brief_description>
<description >
2020-05-07 09:19:23 +00:00
A visual shader node able to perform different functions using vectors.
2018-07-26 09:56:21 +00:00
</description>
<tutorials >
</tutorials>
<members >
2019-06-29 10:38:01 +00:00
<member name= "function" type= "int" setter= "set_function" getter= "get_function" enum= "VisualShaderNodeVectorFunc.Function" default= "0" >
2020-05-07 09:19:23 +00:00
The function to be performed. See [enum Function] for options.
2018-07-26 09:56:21 +00:00
</member>
</members>
<constants >
<constant name= "FUNC_NORMALIZE" value= "0" enum= "Function" >
2020-05-07 09:19:23 +00:00
Normalizes the vector so that it has a length of [code]1[/code] but points in the same direction.
2018-07-26 09:56:21 +00:00
</constant>
<constant name= "FUNC_SATURATE" value= "1" enum= "Function" >
2020-05-07 09:19:23 +00:00
Clamps the value between [code]0.0[/code] and [code]1.0[/code].
2018-07-26 09:56:21 +00:00
</constant>
<constant name= "FUNC_NEGATE" value= "2" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns the opposite value of the parameter.
2018-07-26 09:56:21 +00:00
</constant>
<constant name= "FUNC_RECIPROCAL" value= "3" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns [code]1/vector[/code].
2018-07-26 09:56:21 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_ABS" value= "4" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns the absolute value of the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_ACOS" value= "5" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns the arc-cosine of the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_ACOSH" value= "6" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns the inverse hyperbolic cosine of the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_ASIN" value= "7" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns the arc-sine of the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_ASINH" value= "8" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns the inverse hyperbolic sine of the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_ATAN" value= "9" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns the arc-tangent of the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_ATANH" value= "10" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns the inverse hyperbolic tangent of the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_CEIL" value= "11" enum= "Function" >
2020-05-07 09:19:23 +00:00
Finds the nearest integer that is greater than or equal to the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_COS" value= "12" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns the cosine of the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_COSH" value= "13" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns the hyperbolic cosine of the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_DEGREES" value= "14" enum= "Function" >
2020-05-07 09:19:23 +00:00
Converts a quantity in radians to degrees.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_EXP" value= "15" enum= "Function" >
2020-05-07 09:19:23 +00:00
Base-e Exponential.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_EXP2" value= "16" enum= "Function" >
2020-05-07 09:19:23 +00:00
Base-2 Exponential.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_FLOOR" value= "17" enum= "Function" >
2020-05-07 09:19:23 +00:00
Finds the nearest integer less than or equal to the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_FRAC" value= "18" enum= "Function" >
2020-05-07 09:19:23 +00:00
Computes the fractional part of the argument.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_INVERSE_SQRT" value= "19" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns the inverse of the square root of the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_LOG" value= "20" enum= "Function" >
2020-05-07 09:19:23 +00:00
Natural logarithm.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_LOG2" value= "21" enum= "Function" >
2020-05-07 09:19:23 +00:00
Base-2 logarithm.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_RADIANS" value= "22" enum= "Function" >
2020-05-07 09:19:23 +00:00
Converts a quantity in degrees to radians.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_ROUND" value= "23" enum= "Function" >
2020-05-07 09:19:23 +00:00
Finds the nearest integer to the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_ROUNDEVEN" value= "24" enum= "Function" >
2020-05-07 09:19:23 +00:00
Finds the nearest even integer to the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_SIGN" value= "25" enum= "Function" >
2020-05-07 09:19:23 +00:00
Extracts the sign of the parameter, i.e. returns [code]-1[/code] if the parameter is negative, [code]1[/code] if it's positive and [code]0[/code] otherwise.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_SIN" value= "26" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns the sine of the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_SINH" value= "27" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns the hyperbolic sine of the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_SQRT" value= "28" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns the square root of the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_TAN" value= "29" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns the tangent of the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_TANH" value= "30" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns the hyperbolic tangent of the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_TRUNC" value= "31" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns a value equal to the nearest integer to the parameter whose absolute value is not larger than the absolute value of the parameter.
2019-04-15 12:49:41 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_ONEMINUS" value= "32" enum= "Function" >
2020-05-07 09:19:23 +00:00
Returns [code]1.0 - vector[/code].
2019-05-21 11:26:37 +00:00
</constant>
2022-05-07 06:49:12 +00:00
<constant name= "FUNC_MAX" value= "33" enum= "Function" >
2021-08-14 10:38:22 +00:00
Represents the size of the [enum Function] enum.
</constant>
2018-07-26 09:56:21 +00:00
</constants>
</class>