Skip to content
0.2.0-dev Download ZIP
33 lines ·1.5 KB Raw
1<?xml version="1.0" encoding="UTF-8" ?>
2<class name="VisualShaderNodeTransformVecMult" inherits="VisualShaderNode" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
3 <brief_description>
4 Multiplies a [Transform3D] and a [Vector3] within the visual shader graph.
5 </brief_description>
6 <description>
7 A multiplication operation on a transform (4×4 matrix) and a vector, with support for different multiplication operators.
8 </description>
9 <tutorials>
10 </tutorials>
11 <members>
12 <member name="operator" type="int" setter="set_operator" getter="get_operator" enum="VisualShaderNodeTransformVecMult.Operator" default="0">
13 The multiplication type to be performed.
14 </member>
15 </members>
16 <constants>
17 <constant name="OP_AxB" value="0" enum="Operator">
18 Multiplies transform [code]a[/code] by the vector [code]b[/code].
19 </constant>
20 <constant name="OP_BxA" value="1" enum="Operator">
21 Multiplies vector [code]b[/code] by the transform [code]a[/code].
22 </constant>
23 <constant name="OP_3x3_AxB" value="2" enum="Operator">
24 Multiplies transform [code]a[/code] by the vector [code]b[/code], skipping the last row and column of the transform.
25 </constant>
26 <constant name="OP_3x3_BxA" value="3" enum="Operator">
27 Multiplies vector [code]b[/code] by the transform [code]a[/code], skipping the last row and column of the transform.
28 </constant>
29 <constant name="OP_MAX" value="4" enum="Operator">
30 Represents the size of the [enum Operator] enum.
31 </constant>
32 </constants>
33</class>