VisualScriptLocalVarSet.xml 974 B

12345678910111213141516171819202122232425
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualScriptLocalVarSet" inherits="VisualScriptNode" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
  3. <brief_description>
  4. Changes a local variable's value.
  5. </brief_description>
  6. <description>
  7. Changes a local variable's value to the given input. The new value is also provided on an output Data port.
  8. [b]Input Ports:[/b]
  9. - Sequence
  10. - Data (variant): [code]set[/code]
  11. [b]Output Ports:[/b]
  12. - Sequence
  13. - Data (variant): [code]get[/code]
  14. </description>
  15. <tutorials>
  16. </tutorials>
  17. <members>
  18. <member name="type" type="int" setter="set_var_type" getter="get_var_type" enum="Variant.Type" default="0">
  19. The local variable's type.
  20. </member>
  21. <member name="var_name" type="StringName" setter="set_var_name" getter="get_var_name" default="&amp;&quot;new_local&quot;">
  22. The local variable's name.
  23. </member>
  24. </members>
  25. </class>