| 
									
										
										
										
											2017-09-12 17:42:36 -03:00
										 |  |  | <?xml version="1.0" encoding="UTF-8" ?> | 
					
						
							| 
									
										
										
										
											2017-11-15 18:37:54 +01:00
										 |  |  | <class name="VisualScriptSelect" inherits="VisualScriptNode" category="Core" version="3.0-alpha"> | 
					
						
							| 
									
										
										
										
											2017-09-12 17:42:36 -03:00
										 |  |  | 	<brief_description> | 
					
						
							| 
									
										
										
										
											2017-10-15 11:48:13 -07:00
										 |  |  | 		Chooses between two input values. | 
					
						
							| 
									
										
										
										
											2017-09-12 17:42:36 -03:00
										 |  |  | 	</brief_description> | 
					
						
							|  |  |  | 	<description> | 
					
						
							| 
									
										
										
										
											2017-10-15 11:48:13 -07:00
										 |  |  | 		Chooses between two input values based on a Boolean condition. | 
					
						
							|  |  |  | 		[b]Input Ports:[/b] | 
					
						
							|  |  |  | 		- Data (boolean): [code]cond[/code] | 
					
						
							|  |  |  | 		- Data (variant): [code]a[/code] | 
					
						
							|  |  |  | 		- Data (variant): [code]b[/code] | 
					
						
							|  |  |  | 		[b]Output Ports:[/b] | 
					
						
							|  |  |  | 		- Data (variant): [code]out[/code] | 
					
						
							| 
									
										
										
										
											2017-09-12 17:42:36 -03:00
										 |  |  | 	</description> | 
					
						
							|  |  |  | 	<tutorials> | 
					
						
							|  |  |  | 	</tutorials> | 
					
						
							|  |  |  | 	<demos> | 
					
						
							|  |  |  | 	</demos> | 
					
						
							|  |  |  | 	<methods> | 
					
						
							|  |  |  | 		<method name="get_typed" qualifiers="const"> | 
					
						
							|  |  |  | 			<return type="int" enum="Variant.Type"> | 
					
						
							|  |  |  | 			</return> | 
					
						
							|  |  |  | 			<description> | 
					
						
							|  |  |  | 			</description> | 
					
						
							|  |  |  | 		</method> | 
					
						
							|  |  |  | 		<method name="set_typed"> | 
					
						
							|  |  |  | 			<return type="void"> | 
					
						
							|  |  |  | 			</return> | 
					
						
							|  |  |  | 			<argument index="0" name="type" type="int" enum="Variant.Type"> | 
					
						
							|  |  |  | 			</argument> | 
					
						
							|  |  |  | 			<description> | 
					
						
							|  |  |  | 			</description> | 
					
						
							|  |  |  | 		</method> | 
					
						
							|  |  |  | 	</methods> | 
					
						
							|  |  |  | 	<members> | 
					
						
							| 
									
										
										
										
											2017-09-13 08:49:40 +02:00
										 |  |  | 		<member name="type" type="int" setter="set_typed" getter="get_typed" enum="Variant.Type"> | 
					
						
							| 
									
										
										
										
											2017-10-15 11:48:13 -07:00
										 |  |  | 			The input variables' type. | 
					
						
							| 
									
										
										
										
											2017-09-12 17:42:36 -03:00
										 |  |  | 		</member> | 
					
						
							|  |  |  | 	</members> | 
					
						
							|  |  |  | 	<constants> | 
					
						
							|  |  |  | 	</constants> | 
					
						
							|  |  |  | </class> |