summaryrefslogtreecommitdiff
path: root/doc/classes/VisualShaderNodeTransformMult.xml
blob: f26f60a1f3010b17f0eb2936a7a062c9d9328873 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualShaderNodeTransformMult" inherits="VisualShaderNode" version="4.0">
	<brief_description>
		Multiplies [Transform3D] by [Transform3D] within the visual shader graph.
	</brief_description>
	<description>
		A multiplication operation on two transforms (4x4 matrices), with support for different multiplication operators.
	</description>
	<tutorials>
	</tutorials>
	<methods>
	</methods>
	<members>
		<member name="operator" type="int" setter="set_operator" getter="get_operator" enum="VisualShaderNodeTransformMult.Operator" default="0">
			The multiplication type to be performed on the transforms. See [enum Operator] for options.
		</member>
	</members>
	<constants>
		<constant name="OP_AxB" value="0" enum="Operator">
			Multiplies transform [code]a[/code] by the transform [code]b[/code].
		</constant>
		<constant name="OP_BxA" value="1" enum="Operator">
			Multiplies transform [code]b[/code] by the transform [code]a[/code].
		</constant>
		<constant name="OP_AxB_COMP" value="2" enum="Operator">
			Performs a component-wise multiplication of transform [code]a[/code] by the transform [code]b[/code].
		</constant>
		<constant name="OP_BxA_COMP" value="3" enum="Operator">
			Performs a component-wise multiplication of transform [code]b[/code] by the transform [code]a[/code].
		</constant>
	</constants>
</class>