class_visualscriptoperator.rst 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the VisualScriptOperator.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VisualScriptOperator:
  6. VisualScriptOperator
  7. ====================
  8. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Description
  10. -----------
  11. **Input Ports:**
  12. - Data (variant): ``A``
  13. - Data (variant): ``B``
  14. **Output Ports:**
  15. - Data (variant): ``result``
  16. Properties
  17. ----------
  18. +-------------------------------------------------------------+---------------------------------------------------------------+-------+
  19. | :ref:`Variant.Operator<enum_@GlobalScope_Variant.Operator>` | :ref:`operator<class_VisualScriptOperator_property_operator>` | ``6`` |
  20. +-------------------------------------------------------------+---------------------------------------------------------------+-------+
  21. | :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` | :ref:`type<class_VisualScriptOperator_property_type>` | ``0`` |
  22. +-------------------------------------------------------------+---------------------------------------------------------------+-------+
  23. Property Descriptions
  24. ---------------------
  25. .. _class_VisualScriptOperator_property_operator:
  26. - :ref:`Variant.Operator<enum_@GlobalScope_Variant.Operator>` **operator**
  27. +-----------+---------------------+
  28. | *Default* | ``6`` |
  29. +-----------+---------------------+
  30. | *Setter* | set_operator(value) |
  31. +-----------+---------------------+
  32. | *Getter* | get_operator() |
  33. +-----------+---------------------+
  34. ----
  35. .. _class_VisualScriptOperator_property_type:
  36. - :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` **type**
  37. +-----------+------------------+
  38. | *Default* | ``0`` |
  39. +-----------+------------------+
  40. | *Setter* | set_typed(value) |
  41. +-----------+------------------+
  42. | *Getter* | get_typed() |
  43. +-----------+------------------+
  44. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  45. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  46. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`