2018-07-26 17:56:21 +08:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-07-06 16:08:05 +08:00
|
|
|
|
<class name="VisualShaderNodeTransformVecMult" inherits="VisualShaderNode" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2018-07-26 17:56:21 +08:00
|
|
|
|
<brief_description>
|
2020-05-03 16:27:36 +08:00
|
|
|
|
Multiplies a [Transform3D] and a [Vector3] within the visual shader graph.
|
2018-07-26 17:56:21 +08:00
|
|
|
|
</brief_description>
|
|
|
|
|
<description>
|
2024-03-01 07:59:28 +08:00
|
|
|
|
A multiplication operation on a transform (4×4 matrix) and a vector, with support for different multiplication operators.
|
2018-07-26 17:56:21 +08:00
|
|
|
|
</description>
|
|
|
|
|
<tutorials>
|
|
|
|
|
</tutorials>
|
|
|
|
|
<members>
|
2019-06-29 18:38:01 +08:00
|
|
|
|
<member name="operator" type="int" setter="set_operator" getter="get_operator" enum="VisualShaderNodeTransformVecMult.Operator" default="0">
|
2020-05-07 17:19:23 +08:00
|
|
|
|
The multiplication type to be performed. See [enum Operator] for options.
|
2018-07-26 17:56:21 +08:00
|
|
|
|
</member>
|
|
|
|
|
</members>
|
|
|
|
|
<constants>
|
|
|
|
|
<constant name="OP_AxB" value="0" enum="Operator">
|
2020-05-07 17:19:23 +08:00
|
|
|
|
Multiplies transform [code]a[/code] by the vector [code]b[/code].
|
2018-07-26 17:56:21 +08:00
|
|
|
|
</constant>
|
|
|
|
|
<constant name="OP_BxA" value="1" enum="Operator">
|
2020-05-07 17:19:23 +08:00
|
|
|
|
Multiplies vector [code]b[/code] by the transform [code]a[/code].
|
2018-07-26 17:56:21 +08:00
|
|
|
|
</constant>
|
|
|
|
|
<constant name="OP_3x3_AxB" value="2" enum="Operator">
|
2020-05-07 17:19:23 +08:00
|
|
|
|
Multiplies transform [code]a[/code] by the vector [code]b[/code], skipping the last row and column of the transform.
|
2018-07-26 17:56:21 +08:00
|
|
|
|
</constant>
|
|
|
|
|
<constant name="OP_3x3_BxA" value="3" enum="Operator">
|
2020-05-07 17:19:23 +08:00
|
|
|
|
Multiplies vector [code]b[/code] by the transform [code]a[/code], skipping the last row and column of the transform.
|
2018-07-26 17:56:21 +08:00
|
|
|
|
</constant>
|
2021-08-14 18:38:22 +08:00
|
|
|
|
<constant name="OP_MAX" value="4" enum="Operator">
|
|
|
|
|
Represents the size of the [enum Operator] enum.
|
|
|
|
|
</constant>
|
2018-07-26 17:56:21 +08:00
|
|
|
|
</constants>
|
|
|
|
|
</class>
|