VisualScriptConstant.xml 694 B

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualScriptConstant" inherits="VisualScriptNode" version="4.0">
  3. <brief_description>
  4. Gets a contant's value.
  5. </brief_description>
  6. <description>
  7. This node returns a constant's value.
  8. [b]Input Ports:[/b]
  9. none
  10. [b]Output Ports:[/b]
  11. - Data (variant): [code]get[/code]
  12. </description>
  13. <tutorials>
  14. </tutorials>
  15. <members>
  16. <member name="type" type="int" setter="set_constant_type" getter="get_constant_type" enum="Variant.Type" default="0">
  17. The constant's type.
  18. </member>
  19. <member name="value" type="Variant" setter="set_constant_value" getter="get_constant_value">
  20. The constant's value.
  21. </member>
  22. </members>
  23. </class>