mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	 b68dd2e189
			
		
	
	
		b68dd2e189
		
			
		
	
	
	
	
		
			
			This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8" ?>
 | |
| <class name="VisualShaderNodeSample3D" inherits="VisualShaderNode" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
 | |
| 	<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>
 | |
| 		<constant name="SOURCE_MAX" value="2" enum="Source">
 | |
| 			Represents the size of the [enum Source] enum.
 | |
| 		</constant>
 | |
| 	</constants>
 | |
| </class>
 |