0.2.0-dev Download ZIP
48 lines ·2.1 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="VisualShaderNodeTransformOp" inherits="VisualShaderNode" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd"> |
| 3 | <brief_description> |
| 4 | A [Transform3D] operator to be used within the visual shader graph. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | Applies [member operator] to two transform (4×4 matrices) inputs. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | </tutorials> |
| 11 | <members> |
| 12 | <member name="operator" type="int" setter="set_operator" getter="get_operator" enum="VisualShaderNodeTransformOp.Operator" default="0"> |
| 13 | The type of the operation to be performed on the transforms. |
| 14 | </member> |
| 15 | </members> |
| 16 | <constants> |
| 17 | <constant name="OP_AxB" value="0" enum="Operator"> |
| 18 | Multiplies transform [code]a[/code] by the transform [code]b[/code]. |
| 19 | </constant> |
| 20 | <constant name="OP_BxA" value="1" enum="Operator"> |
| 21 | Multiplies transform [code]b[/code] by the transform [code]a[/code]. |
| 22 | </constant> |
| 23 | <constant name="OP_AxB_COMP" value="2" enum="Operator"> |
| 24 | Performs a component-wise multiplication of transform [code]a[/code] by the transform [code]b[/code]. |
| 25 | </constant> |
| 26 | <constant name="OP_BxA_COMP" value="3" enum="Operator"> |
| 27 | Performs a component-wise multiplication of transform [code]b[/code] by the transform [code]a[/code]. |
| 28 | </constant> |
| 29 | <constant name="OP_ADD" value="4" enum="Operator"> |
| 30 | Adds two transforms. |
| 31 | </constant> |
| 32 | <constant name="OP_A_MINUS_B" value="5" enum="Operator"> |
| 33 | Subtracts the transform [code]a[/code] from the transform [code]b[/code]. |
| 34 | </constant> |
| 35 | <constant name="OP_B_MINUS_A" value="6" enum="Operator"> |
| 36 | Subtracts the transform [code]b[/code] from the transform [code]a[/code]. |
| 37 | </constant> |
| 38 | <constant name="OP_A_DIV_B" value="7" enum="Operator"> |
| 39 | Divides the transform [code]a[/code] by the transform [code]b[/code]. |
| 40 | </constant> |
| 41 | <constant name="OP_B_DIV_A" value="8" enum="Operator"> |
| 42 | Divides the transform [code]b[/code] by the transform [code]a[/code]. |
| 43 | </constant> |
| 44 | <constant name="OP_MAX" value="9" enum="Operator"> |
| 45 | Represents the size of the [enum Operator] enum. |
| 46 | </constant> |
| 47 | </constants> |
| 48 | </class> |