VisualScriptSelect.xml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualScriptSelect" inherits="VisualScriptNode" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. Chooses between two input values.
  5. </brief_description>
  6. <description>
  7. Chooses between two input values based on a Boolean condition.
  8. [b]Input Ports:[/b]
  9. - Data (boolean): [code]cond[/code]
  10. - Data (variant): [code]a[/code]
  11. - Data (variant): [code]b[/code]
  12. [b]Output Ports:[/b]
  13. - Data (variant): [code]out[/code]
  14. </description>
  15. <tutorials>
  16. </tutorials>
  17. <demos>
  18. </demos>
  19. <methods>
  20. <method name="get_typed" qualifiers="const">
  21. <return type="int" enum="Variant.Type">
  22. </return>
  23. <description>
  24. </description>
  25. </method>
  26. <method name="set_typed">
  27. <return type="void">
  28. </return>
  29. <argument index="0" name="type" type="int" enum="Variant.Type">
  30. </argument>
  31. <description>
  32. </description>
  33. </method>
  34. </methods>
  35. <members>
  36. <member name="type" type="int" setter="set_typed" getter="get_typed" enum="Variant.Type">
  37. The input variables' type.
  38. </member>
  39. </members>
  40. <constants>
  41. </constants>
  42. </class>