VisualScriptInputAction.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualScriptInputAction" inherits="VisualScriptNode" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. </brief_description>
  5. <description>
  6. </description>
  7. <tutorials>
  8. </tutorials>
  9. <demos>
  10. </demos>
  11. <methods>
  12. <method name="get_action_mode" qualifiers="const">
  13. <return type="int" enum="VisualScriptInputAction.Mode">
  14. </return>
  15. <description>
  16. </description>
  17. </method>
  18. <method name="get_action_name" qualifiers="const">
  19. <return type="String">
  20. </return>
  21. <description>
  22. </description>
  23. </method>
  24. <method name="set_action_mode">
  25. <return type="void">
  26. </return>
  27. <argument index="0" name="mode" type="int" enum="VisualScriptInputAction.Mode">
  28. </argument>
  29. <description>
  30. </description>
  31. </method>
  32. <method name="set_action_name">
  33. <return type="void">
  34. </return>
  35. <argument index="0" name="name" type="String">
  36. </argument>
  37. <description>
  38. </description>
  39. </method>
  40. </methods>
  41. <members>
  42. <member name="action" type="String" setter="set_action_name" getter="get_action_name">
  43. </member>
  44. <member name="mode" type="int" setter="set_action_mode" getter="get_action_mode" enum="VisualScriptInputAction.Mode">
  45. </member>
  46. </members>
  47. <constants>
  48. <constant name="MODE_PRESSED" value="0">
  49. </constant>
  50. <constant name="MODE_RELEASED" value="1">
  51. </constant>
  52. <constant name="MODE_JUST_PRESSED" value="2">
  53. </constant>
  54. <constant name="MODE_JUST_RELEASED" value="3">
  55. </constant>
  56. </constants>
  57. </class>