VisualShaderNodeTransformVecMult.xml 1.4 KB

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