class_visualscriptpropertyget.rst 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the VisualScriptPropertyGet.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VisualScriptPropertyGet:
  6. VisualScriptPropertyGet
  7. =======================
  8. **Inherits:** :ref:`VisualScriptNode<class_VisualScriptNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +--------------------------------------------------------+------------------------------------------------------------------------+--------------+
  12. | :ref:`String<class_String>` | :ref:`base_script<class_VisualScriptPropertyGet_property_base_script>` | |
  13. +--------------------------------------------------------+------------------------------------------------------------------------+--------------+
  14. | :ref:`String<class_String>` | :ref:`base_type<class_VisualScriptPropertyGet_property_base_type>` | ``"Object"`` |
  15. +--------------------------------------------------------+------------------------------------------------------------------------+--------------+
  16. | :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` | :ref:`basic_type<class_VisualScriptPropertyGet_property_basic_type>` | |
  17. +--------------------------------------------------------+------------------------------------------------------------------------+--------------+
  18. | :ref:`String<class_String>` | :ref:`index<class_VisualScriptPropertyGet_property_index>` | |
  19. +--------------------------------------------------------+------------------------------------------------------------------------+--------------+
  20. | :ref:`NodePath<class_NodePath>` | :ref:`node_path<class_VisualScriptPropertyGet_property_node_path>` | |
  21. +--------------------------------------------------------+------------------------------------------------------------------------+--------------+
  22. | :ref:`String<class_String>` | :ref:`property<class_VisualScriptPropertyGet_property_property>` | ``""`` |
  23. +--------------------------------------------------------+------------------------------------------------------------------------+--------------+
  24. | :ref:`CallMode<enum_VisualScriptPropertyGet_CallMode>` | :ref:`set_mode<class_VisualScriptPropertyGet_property_set_mode>` | ``0`` |
  25. +--------------------------------------------------------+------------------------------------------------------------------------+--------------+
  26. Enumerations
  27. ------------
  28. .. _enum_VisualScriptPropertyGet_CallMode:
  29. .. _class_VisualScriptPropertyGet_constant_CALL_MODE_SELF:
  30. .. _class_VisualScriptPropertyGet_constant_CALL_MODE_NODE_PATH:
  31. .. _class_VisualScriptPropertyGet_constant_CALL_MODE_INSTANCE:
  32. enum **CallMode**:
  33. - **CALL_MODE_SELF** = **0**
  34. - **CALL_MODE_NODE_PATH** = **1**
  35. - **CALL_MODE_INSTANCE** = **2**
  36. Property Descriptions
  37. ---------------------
  38. .. _class_VisualScriptPropertyGet_property_base_script:
  39. - :ref:`String<class_String>` **base_script**
  40. +----------+------------------------+
  41. | *Setter* | set_base_script(value) |
  42. +----------+------------------------+
  43. | *Getter* | get_base_script() |
  44. +----------+------------------------+
  45. ----
  46. .. _class_VisualScriptPropertyGet_property_base_type:
  47. - :ref:`String<class_String>` **base_type**
  48. +-----------+----------------------+
  49. | *Default* | ``"Object"`` |
  50. +-----------+----------------------+
  51. | *Setter* | set_base_type(value) |
  52. +-----------+----------------------+
  53. | *Getter* | get_base_type() |
  54. +-----------+----------------------+
  55. ----
  56. .. _class_VisualScriptPropertyGet_property_basic_type:
  57. - :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` **basic_type**
  58. +----------+-----------------------+
  59. | *Setter* | set_basic_type(value) |
  60. +----------+-----------------------+
  61. | *Getter* | get_basic_type() |
  62. +----------+-----------------------+
  63. ----
  64. .. _class_VisualScriptPropertyGet_property_index:
  65. - :ref:`String<class_String>` **index**
  66. +----------+------------------+
  67. | *Setter* | set_index(value) |
  68. +----------+------------------+
  69. | *Getter* | get_index() |
  70. +----------+------------------+
  71. ----
  72. .. _class_VisualScriptPropertyGet_property_node_path:
  73. - :ref:`NodePath<class_NodePath>` **node_path**
  74. +----------+----------------------+
  75. | *Setter* | set_base_path(value) |
  76. +----------+----------------------+
  77. | *Getter* | get_base_path() |
  78. +----------+----------------------+
  79. ----
  80. .. _class_VisualScriptPropertyGet_property_property:
  81. - :ref:`String<class_String>` **property**
  82. +-----------+---------------------+
  83. | *Default* | ``""`` |
  84. +-----------+---------------------+
  85. | *Setter* | set_property(value) |
  86. +-----------+---------------------+
  87. | *Getter* | get_property() |
  88. +-----------+---------------------+
  89. ----
  90. .. _class_VisualScriptPropertyGet_property_set_mode:
  91. - :ref:`CallMode<enum_VisualScriptPropertyGet_CallMode>` **set_mode**
  92. +-----------+----------------------+
  93. | *Default* | ``0`` |
  94. +-----------+----------------------+
  95. | *Setter* | set_call_mode(value) |
  96. +-----------+----------------------+
  97. | *Getter* | get_call_mode() |
  98. +-----------+----------------------+
  99. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  100. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  101. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`