class_visualshadernodetransformmult.rst 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the VisualShaderNodeTransformMult.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VisualShaderNodeTransformMult:
  6. VisualShaderNodeTransformMult
  7. =============================
  8. **Inherits:** :ref:`VisualShaderNode<class_VisualShaderNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Multiplies :ref:`Transform<class_Transform>` by :ref:`Transform<class_Transform>` within the visual shader graph.
  10. Description
  11. -----------
  12. A multiplication operation on two transforms (4x4 matrices), with support for different multiplication operators.
  13. Properties
  14. ----------
  15. +--------------------------------------------------------------+------------------------------------------------------------------------+-------+
  16. | :ref:`Operator<enum_VisualShaderNodeTransformMult_Operator>` | :ref:`operator<class_VisualShaderNodeTransformMult_property_operator>` | ``0`` |
  17. +--------------------------------------------------------------+------------------------------------------------------------------------+-------+
  18. Enumerations
  19. ------------
  20. .. _enum_VisualShaderNodeTransformMult_Operator:
  21. .. _class_VisualShaderNodeTransformMult_constant_OP_AxB:
  22. .. _class_VisualShaderNodeTransformMult_constant_OP_BxA:
  23. .. _class_VisualShaderNodeTransformMult_constant_OP_AxB_COMP:
  24. .. _class_VisualShaderNodeTransformMult_constant_OP_BxA_COMP:
  25. enum **Operator**:
  26. - **OP_AxB** = **0** --- Multiplies transform ``a`` by the transform ``b``.
  27. - **OP_BxA** = **1** --- Multiplies transform ``b`` by the transform ``a``.
  28. - **OP_AxB_COMP** = **2** --- Performs a component-wise multiplication of transform ``a`` by the transform ``b``.
  29. - **OP_BxA_COMP** = **3** --- Performs a component-wise multiplication of transform ``b`` by the transform ``a``.
  30. Property Descriptions
  31. ---------------------
  32. .. _class_VisualShaderNodeTransformMult_property_operator:
  33. - :ref:`Operator<enum_VisualShaderNodeTransformMult_Operator>` **operator**
  34. +-----------+---------------------+
  35. | *Default* | ``0`` |
  36. +-----------+---------------------+
  37. | *Setter* | set_operator(value) |
  38. +-----------+---------------------+
  39. | *Getter* | get_operator() |
  40. +-----------+---------------------+
  41. The multiplication type to be performed on the transforms. See :ref:`Operator<enum_VisualShaderNodeTransformMult_Operator>` for options.
  42. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  43. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  44. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`