| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | <?xml version="1.0" encoding="UTF-8" ?> | 
					
						
							| 
									
										
										
										
											2020-01-31 17:03:48 -08:00
										 |  |  | <class name="VisualShaderNodeVectorOp" inherits="VisualShaderNode" version="4.0"> | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 	<brief_description> | 
					
						
							| 
									
										
										
										
											2020-05-07 11:19:23 +02:00
										 |  |  | 		A vector operator to be used within the visual shader graph. | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 	</brief_description> | 
					
						
							|  |  |  | 	<description> | 
					
						
							| 
									
										
										
										
											2020-05-07 11:19:23 +02:00
										 |  |  | 		A visual shader node for use of vector operators. Operates on vector [code]a[/code] and vector [code]b[/code]. | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 	</description> | 
					
						
							|  |  |  | 	<tutorials> | 
					
						
							|  |  |  | 	</tutorials> | 
					
						
							|  |  |  | 	<methods> | 
					
						
							|  |  |  | 	</methods> | 
					
						
							|  |  |  | 	<members> | 
					
						
							| 
									
										
										
										
											2019-06-29 12:38:01 +02:00
										 |  |  | 		<member name="operator" type="int" setter="set_operator" getter="get_operator" enum="VisualShaderNodeVectorOp.Operator" default="0"> | 
					
						
							| 
									
										
										
										
											2020-05-07 11:19:23 +02:00
										 |  |  | 			The operator to be used. See [enum Operator] for options. | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 		</member> | 
					
						
							|  |  |  | 	</members> | 
					
						
							|  |  |  | 	<constants> | 
					
						
							|  |  |  | 		<constant name="OP_ADD" value="0" enum="Operator"> | 
					
						
							| 
									
										
										
										
											2020-05-07 11:19:23 +02:00
										 |  |  | 			Adds two vectors. | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 		</constant> | 
					
						
							|  |  |  | 		<constant name="OP_SUB" value="1" enum="Operator"> | 
					
						
							| 
									
										
										
										
											2020-05-07 11:19:23 +02:00
										 |  |  | 			Subtracts a vector from a vector. | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 		</constant> | 
					
						
							|  |  |  | 		<constant name="OP_MUL" value="2" enum="Operator"> | 
					
						
							| 
									
										
										
										
											2020-05-07 11:19:23 +02:00
										 |  |  | 			Multiplies two vectors. | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 		</constant> | 
					
						
							|  |  |  | 		<constant name="OP_DIV" value="3" enum="Operator"> | 
					
						
							| 
									
										
										
										
											2020-05-07 11:19:23 +02:00
										 |  |  | 			Divides vector by vector. | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 		</constant> | 
					
						
							|  |  |  | 		<constant name="OP_MOD" value="4" enum="Operator"> | 
					
						
							| 
									
										
										
										
											2020-05-07 11:19:23 +02:00
										 |  |  | 			Returns the remainder of the two vectors. | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 		</constant> | 
					
						
							|  |  |  | 		<constant name="OP_POW" value="5" enum="Operator"> | 
					
						
							| 
									
										
										
										
											2020-05-07 11:19:23 +02:00
										 |  |  | 			Returns the value of the first parameter raised to the power of the second, for each component of the vectors. | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 		</constant> | 
					
						
							|  |  |  | 		<constant name="OP_MAX" value="6" enum="Operator"> | 
					
						
							| 
									
										
										
										
											2020-05-07 11:19:23 +02:00
										 |  |  | 			Returns the greater of two values, for each component of the vectors. | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 		</constant> | 
					
						
							|  |  |  | 		<constant name="OP_MIN" value="7" enum="Operator"> | 
					
						
							| 
									
										
										
										
											2020-05-07 11:19:23 +02:00
										 |  |  | 			Returns the lesser of two values, for each component of the vectors. | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 		</constant> | 
					
						
							|  |  |  | 		<constant name="OP_CROSS" value="8" enum="Operator"> | 
					
						
							| 
									
										
										
										
											2020-05-07 11:19:23 +02:00
										 |  |  | 			Calculates the cross product of two vectors. | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 		</constant> | 
					
						
							| 
									
										
										
										
											2019-04-15 14:49:41 +02:00
										 |  |  | 		<constant name="OP_ATAN2" value="9" enum="Operator"> | 
					
						
							| 
									
										
										
										
											2020-05-07 11:19:23 +02:00
										 |  |  | 			Returns the arc-tangent of the parameters. | 
					
						
							| 
									
										
										
										
											2019-04-15 14:49:41 +02:00
										 |  |  | 		</constant> | 
					
						
							|  |  |  | 		<constant name="OP_REFLECT" value="10" enum="Operator"> | 
					
						
							| 
									
										
										
										
											2020-05-07 11:19:23 +02:00
										 |  |  | 			Returns the vector that points in the direction of reflection. [code]a[/code] is incident vector and [code]b[/code] is the normal vector. | 
					
						
							| 
									
										
										
										
											2019-04-15 14:49:41 +02:00
										 |  |  | 		</constant> | 
					
						
							|  |  |  | 		<constant name="OP_STEP" value="11" enum="Operator"> | 
					
						
							| 
									
										
										
										
											2020-05-07 11:19:23 +02:00
										 |  |  | 			Vector step operator. Returns [code]0.0[/code] if [code]a[/code] is smaller than [code]b[/code] and [code]1.0[/code] otherwise. | 
					
						
							| 
									
										
										
										
											2019-04-15 14:49:41 +02:00
										 |  |  | 		</constant> | 
					
						
							| 
									
										
										
										
											2021-08-14 13:38:22 +03:00
										 |  |  | 		<constant name="OP_ENUM_SIZE" value="12" enum="Operator"> | 
					
						
							|  |  |  | 			Represents the size of the [enum Operator] enum. | 
					
						
							|  |  |  | 		</constant> | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 	</constants> | 
					
						
							|  |  |  | </class> |