mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 21:51:22 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8" ?>
 | |
| <class name="VisualShaderNodeTransformVecMult" inherits="VisualShaderNode" version="4.0">
 | |
| 	<brief_description>
 | |
| 		Multiplies a [Transform3D] and a [Vector3] within the visual shader graph.
 | |
| 	</brief_description>
 | |
| 	<description>
 | |
| 		A multiplication operation on a transform (4x4 matrix) and a vector, with support for different multiplication operators.
 | |
| 	</description>
 | |
| 	<tutorials>
 | |
| 	</tutorials>
 | |
| 	<methods>
 | |
| 	</methods>
 | |
| 	<members>
 | |
| 		<member name="operator" type="int" setter="set_operator" getter="get_operator" enum="VisualShaderNodeTransformVecMult.Operator" default="0">
 | |
| 			The multiplication type to be performed. See [enum Operator] for options.
 | |
| 		</member>
 | |
| 	</members>
 | |
| 	<constants>
 | |
| 		<constant name="OP_AxB" value="0" enum="Operator">
 | |
| 			Multiplies transform [code]a[/code] by the vector [code]b[/code].
 | |
| 		</constant>
 | |
| 		<constant name="OP_BxA" value="1" enum="Operator">
 | |
| 			Multiplies vector [code]b[/code] by the transform [code]a[/code].
 | |
| 		</constant>
 | |
| 		<constant name="OP_3x3_AxB" value="2" enum="Operator">
 | |
| 			Multiplies transform [code]a[/code] by the vector [code]b[/code], skipping the last row and column of the transform.
 | |
| 		</constant>
 | |
| 		<constant name="OP_3x3_BxA" value="3" enum="Operator">
 | |
| 			Multiplies vector [code]b[/code] by the transform [code]a[/code], skipping the last row and column of the transform.
 | |
| 		</constant>
 | |
| 		<constant name="OP_MAX" value="4" enum="Operator">
 | |
| 			Represents the size of the [enum Operator] enum.
 | |
| 		</constant>
 | |
| 	</constants>
 | |
| </class>
 | 
