VisualScriptBasicTypeConstant.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualScriptBasicTypeConstant" inherits="VisualScriptNode" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. A Visual Script node representing a constant from the base types.
  5. </brief_description>
  6. <description>
  7. A Visual Script node representing a constant from base types, such as [Vector3.AXIS_X].
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <demos>
  12. </demos>
  13. <methods>
  14. <method name="get_basic_type" qualifiers="const">
  15. <return type="int" enum="Variant.Type">
  16. </return>
  17. <description>
  18. </description>
  19. </method>
  20. <method name="get_basic_type_constant" qualifiers="const">
  21. <return type="String">
  22. </return>
  23. <description>
  24. </description>
  25. </method>
  26. <method name="set_basic_type">
  27. <return type="void">
  28. </return>
  29. <argument index="0" name="name" type="int" enum="Variant.Type">
  30. </argument>
  31. <description>
  32. </description>
  33. </method>
  34. <method name="set_basic_type_constant">
  35. <return type="void">
  36. </return>
  37. <argument index="0" name="name" type="String">
  38. </argument>
  39. <description>
  40. </description>
  41. </method>
  42. </methods>
  43. <members>
  44. <member name="basic_type" type="int" setter="set_basic_type" getter="get_basic_type" enum="Variant.Type">
  45. The type to get the constant from.
  46. </member>
  47. <member name="constant" type="String" setter="set_basic_type_constant" getter="get_basic_type_constant">
  48. The name of the constant to return.
  49. </member>
  50. </members>
  51. <constants>
  52. </constants>
  53. </class>