Debian Codegraph @

doc/classes/VisualShaderNodeVectorFunc.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <class name="VisualShaderNodeVectorFunc" inherits="VisualShaderNodeVectorBase" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 A vector function to be used within the visual shader graph.
5 </brief_description>
6 <description>
7 A visual shader node able to perform different functions using vectors.
8 </description>
9 <tutorials>
10 </tutorials>
11 <members>
12 <member name="function" type="int" setter="set_function" getter="get_function" enum="VisualShaderNodeVectorFunc.Function" default="0">
13 The function to be performed.
14 </member>
15 </members>
16 <constants>
17 <constant name="FUNC_NORMALIZE" value="0" enum="Function">
18 Normalizes the vector so that it has a length of [code]1[/code] but points in the same direction.
19 </constant>
20 <constant name="FUNC_SATURATE" value="1" enum="Function">
21 Clamps the value between [code]0.0[/code] and [code]1.0[/code].
22 </constant>
23 <constant name="FUNC_NEGATE" value="2" enum="Function">
24 Returns the opposite value of the parameter.
25 </constant>
26 <constant name="FUNC_RECIPROCAL" value="3" enum="Function">
27 Returns [code]1/vector[/code].
28 </constant>
29 <constant name="FUNC_ABS" value="4" enum="Function">
30 Returns the absolute value of the parameter.
31 </constant>
32 <constant name="FUNC_ACOS" value="5" enum="Function">
33 Returns the arc-cosine of the parameter.
34 </constant>
35 <constant name="FUNC_ACOSH" value="6" enum="Function">
36 Returns the inverse hyperbolic cosine of the parameter.
37 </constant>
38 <constant name="FUNC_ASIN" value="7" enum="Function">
39 Returns the arc-sine of the parameter.
40 </constant>
41 <constant name="FUNC_ASINH" value="8" enum="Function">
42 Returns the inverse hyperbolic sine of the parameter.
43 </constant>
44 <constant name="FUNC_ATAN" value="9" enum="Function">
45 Returns the arc-tangent of the parameter.
46 </constant>
47 <constant name="FUNC_ATANH" value="10" enum="Function">
48 Returns the inverse hyperbolic tangent of the parameter.
49 </constant>
50 <constant name="FUNC_CEIL" value="11" enum="Function">
51 Finds the nearest integer that is greater than or equal to the parameter.
52 </constant>
53 <constant name="FUNC_COS" value="12" enum="Function">
54 Returns the cosine of the parameter.
55 </constant>
56 <constant name="FUNC_COSH" value="13" enum="Function">
57 Returns the hyperbolic cosine of the parameter.
58 </constant>
59 <constant name="FUNC_DEGREES" value="14" enum="Function">
60 Converts a quantity in radians to degrees.
61 </constant>
62 <constant name="FUNC_EXP" value="15" enum="Function">
63 Base-e Exponential.
64 </constant>
65 <constant name="FUNC_EXP2" value="16" enum="Function">
66 Base-2 Exponential.
67 </constant>
68 <constant name="FUNC_FLOOR" value="17" enum="Function">
69 Finds the nearest integer less than or equal to the parameter.
70 </constant>
71 <constant name="FUNC_FRACT" value="18" enum="Function">
72 Computes the fractional part of the argument.
73 </constant>
74 <constant name="FUNC_INVERSE_SQRT" value="19" enum="Function">
75 Returns the inverse of the square root of the parameter.
76 </constant>
77 <constant name="FUNC_LOG" value="20" enum="Function">
78 Natural logarithm.
79 </constant>
80 <constant name="FUNC_LOG2" value="21" enum="Function">
81 Base-2 logarithm.
82 </constant>
83 <constant name="FUNC_RADIANS" value="22" enum="Function">
84 Converts a quantity in degrees to radians.
85 </constant>
86 <constant name="FUNC_ROUND" value="23" enum="Function">
87 Finds the nearest integer to the parameter.
88 </constant>
89 <constant name="FUNC_ROUNDEVEN" value="24" enum="Function">
90 Finds the nearest even integer to the parameter.
91 </constant>
92 <constant name="FUNC_SIGN" value="25" enum="Function">
93 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.
94 </constant>
95 <constant name="FUNC_SIN" value="26" enum="Function">
96 Returns the sine of the parameter.
97 </constant>
98 <constant name="FUNC_SINH" value="27" enum="Function">
99 Returns the hyperbolic sine of the parameter.
100 </constant>
101 <constant name="FUNC_SQRT" value="28" enum="Function">
102 Returns the square root of the parameter.
103 </constant>
104 <constant name="FUNC_TAN" value="29" enum="Function">
105 Returns the tangent of the parameter.
106 </constant>
107 <constant name="FUNC_TANH" value="30" enum="Function">
108 Returns the hyperbolic tangent of the parameter.
109 </constant>
110 <constant name="FUNC_TRUNC" value="31" enum="Function">
111 Returns a value equal to the nearest integer to the parameter whose absolute value is not larger than the absolute value of the parameter.
112 </constant>
113 <constant name="FUNC_ONEMINUS" value="32" enum="Function">
114 Returns [code]1.0 - vector[/code].
115 </constant>
116 <constant name="FUNC_MAX" value="33" enum="Function">
117 Represents the size of the [enum Function] enum.
118 </constant>
119 </constants>
120 </class>