class_visualscriptselect.rst 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the VisualScriptSelect.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_VisualScriptSelect:
  5. VisualScriptSelect
  6. ==================
  7. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Chooses between two input values.
  12. Properties
  13. ----------
  14. +-----------------------------------------------------+--------------------------------------------+
  15. | :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` | :ref:`type<class_VisualScriptSelect_type>` |
  16. +-----------------------------------------------------+--------------------------------------------+
  17. Description
  18. -----------
  19. Chooses between two input values based on a Boolean condition.
  20. **Input Ports:**
  21. - Data (boolean): ``cond``
  22. - Data (variant): ``a``
  23. - Data (variant): ``b``
  24. **Output Ports:**
  25. - Data (variant): ``out``
  26. Property Descriptions
  27. ---------------------
  28. .. _class_VisualScriptSelect_type:
  29. - :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` **type**
  30. +----------+------------------+
  31. | *Setter* | set_typed(value) |
  32. +----------+------------------+
  33. | *Getter* | get_typed() |
  34. +----------+------------------+
  35. The input variables' type.