class_visualscriptoperator.rst 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/3.6/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/3.6/modules/visual_script/doc_classes/VisualScriptOperator.xml.
  6. .. _class_VisualScriptOperator:
  7. VisualScriptOperator
  8. ====================
  9. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  10. A Visual Script node that performs an operation on two values.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. **Input Ports:**\
  15. - Data (variant): ``A``\
  16. - Data (variant): ``B``\
  17. \ **Output Ports:**\
  18. - Data (variant): ``result``
  19. .. rst-class:: classref-reftable-group
  20. Properties
  21. ----------
  22. .. table::
  23. :widths: auto
  24. +-------------------------------------------------------------+---------------------------------------------------------------+-------+
  25. | :ref:`Variant.Operator<enum_@GlobalScope_Variant.Operator>` | :ref:`operator<class_VisualScriptOperator_property_operator>` | ``6`` |
  26. +-------------------------------------------------------------+---------------------------------------------------------------+-------+
  27. | :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` | :ref:`type<class_VisualScriptOperator_property_type>` | ``0`` |
  28. +-------------------------------------------------------------+---------------------------------------------------------------+-------+
  29. .. rst-class:: classref-section-separator
  30. ----
  31. .. rst-class:: classref-descriptions-group
  32. Property Descriptions
  33. ---------------------
  34. .. _class_VisualScriptOperator_property_operator:
  35. .. rst-class:: classref-property
  36. :ref:`Variant.Operator<enum_@GlobalScope_Variant.Operator>` **operator** = ``6``
  37. .. rst-class:: classref-property-setget
  38. - void **set_operator** **(** :ref:`Variant.Operator<enum_@GlobalScope_Variant.Operator>` value **)**
  39. - :ref:`Variant.Operator<enum_@GlobalScope_Variant.Operator>` **get_operator** **(** **)**
  40. The operation to be performed. See :ref:`Variant.Operator<enum_@GlobalScope_Variant.Operator>` for available options.
  41. .. rst-class:: classref-item-separator
  42. ----
  43. .. _class_VisualScriptOperator_property_type:
  44. .. rst-class:: classref-property
  45. :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` **type** = ``0``
  46. .. rst-class:: classref-property-setget
  47. - void **set_typed** **(** :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` value **)**
  48. - :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` **get_typed** **(** **)**
  49. The type of the values for this operation. See :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` for available options.
  50. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  51. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  52. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  53. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`