| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | <?xml version="1.0" encoding="UTF-8" ?> | 
					
						
							| 
									
										
										
										
											2020-01-26 16:01:49 +01:00
										 |  |  | <class name="VisualShaderNodeColorConstant" inherits="VisualShaderNode" version="3.2"> | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 	<brief_description> | 
					
						
							| 
									
										
										
										
											2020-01-23 10:31:45 +03:00
										 |  |  | 		A [Color] constant to be used within the visual shader graph. | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 	</brief_description> | 
					
						
							|  |  |  | 	<description> | 
					
						
							| 
									
										
										
										
											2020-01-23 10:31:45 +03:00
										 |  |  | 		Has two output ports representing RGB and alpha channels of [Color]. | 
					
						
							|  |  |  | 		Translated to [code]vec3 rgb[/code] and [code]float alpha[/code] in the shader language. | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 	</description> | 
					
						
							|  |  |  | 	<tutorials> | 
					
						
							|  |  |  | 	</tutorials> | 
					
						
							|  |  |  | 	<methods> | 
					
						
							|  |  |  | 	</methods> | 
					
						
							|  |  |  | 	<members> | 
					
						
							| 
									
										
										
										
											2019-06-29 12:38:01 +02:00
										 |  |  | 		<member name="constant" type="Color" setter="set_constant" getter="get_constant" default="Color( 1, 1, 1, 1 )"> | 
					
						
							| 
									
										
										
										
											2020-01-23 10:31:45 +03:00
										 |  |  | 			A [Color] constant which represents a state of this node. | 
					
						
							| 
									
										
										
										
											2018-07-26 11:56:21 +02:00
										 |  |  | 		</member> | 
					
						
							|  |  |  | 	</members> | 
					
						
							|  |  |  | 	<constants> | 
					
						
							|  |  |  | 	</constants> | 
					
						
							|  |  |  | </class> |