| 
									
										
										
										
											2020-02-18 14:45:23 +03:00
										 |  |  | <?xml version="1.0" encoding="UTF-8" ?> | 
					
						
							| 
									
										
										
										
											2023-07-06 10:08:05 +02:00
										 |  |  | <class name="VisualShaderNodeSample3D" inherits="VisualShaderNode" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> | 
					
						
							| 
									
										
										
										
											2020-02-18 14:45:23 +03:00
										 |  |  | 	<brief_description> | 
					
						
							|  |  |  | 		A base node for nodes which samples 3D textures in the visual shader graph. | 
					
						
							|  |  |  | 	</brief_description> | 
					
						
							|  |  |  | 	<description> | 
					
						
							|  |  |  | 		A virtual class, use the descendants instead. | 
					
						
							|  |  |  | 	</description> | 
					
						
							|  |  |  | 	<tutorials> | 
					
						
							|  |  |  | 	</tutorials> | 
					
						
							|  |  |  | 	<members> | 
					
						
							|  |  |  | 		<member name="source" type="int" setter="set_source" getter="get_source" enum="VisualShaderNodeSample3D.Source" default="0"> | 
					
						
							|  |  |  | 			An input source type. | 
					
						
							|  |  |  | 		</member> | 
					
						
							|  |  |  | 	</members> | 
					
						
							|  |  |  | 	<constants> | 
					
						
							|  |  |  | 		<constant name="SOURCE_TEXTURE" value="0" enum="Source"> | 
					
						
							|  |  |  | 			Creates internal uniform and provides a way to assign it within node. | 
					
						
							|  |  |  | 		</constant> | 
					
						
							|  |  |  | 		<constant name="SOURCE_PORT" value="1" enum="Source"> | 
					
						
							|  |  |  | 			Use the uniform texture from sampler port. | 
					
						
							|  |  |  | 		</constant> | 
					
						
							| 
									
										
										
										
											2021-08-14 13:38:22 +03:00
										 |  |  | 		<constant name="SOURCE_MAX" value="2" enum="Source"> | 
					
						
							|  |  |  | 			Represents the size of the [enum Source] enum. | 
					
						
							|  |  |  | 		</constant> | 
					
						
							| 
									
										
										
										
											2020-02-18 14:45:23 +03:00
										 |  |  | 	</constants> | 
					
						
							|  |  |  | </class> |