class_visualscriptselect.rst 932 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. Member Variables
  13. ----------------
  14. .. _class_VisualScriptSelect_type:
  15. - :ref:`Type<enum_variant_type>` **type** - The input variables' type.
  16. Description
  17. -----------
  18. Chooses between two input values based on a Boolean condition.
  19. **Input Ports:**
  20. - Data (boolean): ``cond``
  21. - Data (variant): ``a``
  22. - Data (variant): ``b``
  23. **Output Ports:**
  24. - Data (variant): ``out``