VisualScriptClassConstant.xml 1.0 KB

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualScriptClassConstant" inherits="VisualScriptNode" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
  3. <brief_description>
  4. Gets a constant from a given class.
  5. </brief_description>
  6. <description>
  7. This node returns a constant from a given class, such as [constant TYPE_INT]. See the given class' documentation for available constants.
  8. [b]Input Ports:[/b]
  9. none
  10. [b]Output Ports:[/b]
  11. - Data (variant): [code]value[/code]
  12. </description>
  13. <tutorials>
  14. </tutorials>
  15. <methods>
  16. </methods>
  17. <members>
  18. <member name="base_type" type="String" setter="set_base_type" getter="get_base_type" default="&quot;Object&quot;">
  19. The constant's parent class.
  20. </member>
  21. <member name="constant" type="String" setter="set_class_constant" getter="get_class_constant" default="&quot;&quot;">
  22. The constant to return. See the given class for its available constants.
  23. </member>
  24. </members>
  25. <constants>
  26. </constants>
  27. </class>