class_visualscriptpropertyset.rst 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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 VisualScriptPropertySet.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VisualScriptPropertySet:
  6. VisualScriptPropertySet
  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:`AssignOp<enum_VisualScriptPropertySet_AssignOp>` | :ref:`assign_op<class_VisualScriptPropertySet_property_assign_op>` | ``0`` |
  13. +--------------------------------------------------------+------------------------------------------------------------------------+--------------+
  14. | :ref:`String<class_String>` | :ref:`base_script<class_VisualScriptPropertySet_property_base_script>` | |
  15. +--------------------------------------------------------+------------------------------------------------------------------------+--------------+
  16. | :ref:`String<class_String>` | :ref:`base_type<class_VisualScriptPropertySet_property_base_type>` | ``"Object"`` |
  17. +--------------------------------------------------------+------------------------------------------------------------------------+--------------+
  18. | :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` | :ref:`basic_type<class_VisualScriptPropertySet_property_basic_type>` | |
  19. +--------------------------------------------------------+------------------------------------------------------------------------+--------------+
  20. | :ref:`String<class_String>` | :ref:`index<class_VisualScriptPropertySet_property_index>` | |
  21. +--------------------------------------------------------+------------------------------------------------------------------------+--------------+
  22. | :ref:`NodePath<class_NodePath>` | :ref:`node_path<class_VisualScriptPropertySet_property_node_path>` | |
  23. +--------------------------------------------------------+------------------------------------------------------------------------+--------------+
  24. | :ref:`String<class_String>` | :ref:`property<class_VisualScriptPropertySet_property_property>` | ``""`` |
  25. +--------------------------------------------------------+------------------------------------------------------------------------+--------------+
  26. | :ref:`CallMode<enum_VisualScriptPropertySet_CallMode>` | :ref:`set_mode<class_VisualScriptPropertySet_property_set_mode>` | ``0`` |
  27. +--------------------------------------------------------+------------------------------------------------------------------------+--------------+
  28. Enumerations
  29. ------------
  30. .. _enum_VisualScriptPropertySet_CallMode:
  31. .. _class_VisualScriptPropertySet_constant_CALL_MODE_SELF:
  32. .. _class_VisualScriptPropertySet_constant_CALL_MODE_NODE_PATH:
  33. .. _class_VisualScriptPropertySet_constant_CALL_MODE_INSTANCE:
  34. .. _class_VisualScriptPropertySet_constant_CALL_MODE_BASIC_TYPE:
  35. enum **CallMode**:
  36. - **CALL_MODE_SELF** = **0**
  37. - **CALL_MODE_NODE_PATH** = **1**
  38. - **CALL_MODE_INSTANCE** = **2**
  39. - **CALL_MODE_BASIC_TYPE** = **3**
  40. ----
  41. .. _enum_VisualScriptPropertySet_AssignOp:
  42. .. _class_VisualScriptPropertySet_constant_ASSIGN_OP_NONE:
  43. .. _class_VisualScriptPropertySet_constant_ASSIGN_OP_ADD:
  44. .. _class_VisualScriptPropertySet_constant_ASSIGN_OP_SUB:
  45. .. _class_VisualScriptPropertySet_constant_ASSIGN_OP_MUL:
  46. .. _class_VisualScriptPropertySet_constant_ASSIGN_OP_DIV:
  47. .. _class_VisualScriptPropertySet_constant_ASSIGN_OP_MOD:
  48. .. _class_VisualScriptPropertySet_constant_ASSIGN_OP_SHIFT_LEFT:
  49. .. _class_VisualScriptPropertySet_constant_ASSIGN_OP_SHIFT_RIGHT:
  50. .. _class_VisualScriptPropertySet_constant_ASSIGN_OP_BIT_AND:
  51. .. _class_VisualScriptPropertySet_constant_ASSIGN_OP_BIT_OR:
  52. .. _class_VisualScriptPropertySet_constant_ASSIGN_OP_BIT_XOR:
  53. enum **AssignOp**:
  54. - **ASSIGN_OP_NONE** = **0**
  55. - **ASSIGN_OP_ADD** = **1**
  56. - **ASSIGN_OP_SUB** = **2**
  57. - **ASSIGN_OP_MUL** = **3**
  58. - **ASSIGN_OP_DIV** = **4**
  59. - **ASSIGN_OP_MOD** = **5**
  60. - **ASSIGN_OP_SHIFT_LEFT** = **6**
  61. - **ASSIGN_OP_SHIFT_RIGHT** = **7**
  62. - **ASSIGN_OP_BIT_AND** = **8**
  63. - **ASSIGN_OP_BIT_OR** = **9**
  64. - **ASSIGN_OP_BIT_XOR** = **10**
  65. Property Descriptions
  66. ---------------------
  67. .. _class_VisualScriptPropertySet_property_assign_op:
  68. - :ref:`AssignOp<enum_VisualScriptPropertySet_AssignOp>` **assign_op**
  69. +-----------+----------------------+
  70. | *Default* | ``0`` |
  71. +-----------+----------------------+
  72. | *Setter* | set_assign_op(value) |
  73. +-----------+----------------------+
  74. | *Getter* | get_assign_op() |
  75. +-----------+----------------------+
  76. ----
  77. .. _class_VisualScriptPropertySet_property_base_script:
  78. - :ref:`String<class_String>` **base_script**
  79. +----------+------------------------+
  80. | *Setter* | set_base_script(value) |
  81. +----------+------------------------+
  82. | *Getter* | get_base_script() |
  83. +----------+------------------------+
  84. ----
  85. .. _class_VisualScriptPropertySet_property_base_type:
  86. - :ref:`String<class_String>` **base_type**
  87. +-----------+----------------------+
  88. | *Default* | ``"Object"`` |
  89. +-----------+----------------------+
  90. | *Setter* | set_base_type(value) |
  91. +-----------+----------------------+
  92. | *Getter* | get_base_type() |
  93. +-----------+----------------------+
  94. ----
  95. .. _class_VisualScriptPropertySet_property_basic_type:
  96. - :ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` **basic_type**
  97. +----------+-----------------------+
  98. | *Setter* | set_basic_type(value) |
  99. +----------+-----------------------+
  100. | *Getter* | get_basic_type() |
  101. +----------+-----------------------+
  102. ----
  103. .. _class_VisualScriptPropertySet_property_index:
  104. - :ref:`String<class_String>` **index**
  105. +----------+------------------+
  106. | *Setter* | set_index(value) |
  107. +----------+------------------+
  108. | *Getter* | get_index() |
  109. +----------+------------------+
  110. ----
  111. .. _class_VisualScriptPropertySet_property_node_path:
  112. - :ref:`NodePath<class_NodePath>` **node_path**
  113. +----------+----------------------+
  114. | *Setter* | set_base_path(value) |
  115. +----------+----------------------+
  116. | *Getter* | get_base_path() |
  117. +----------+----------------------+
  118. ----
  119. .. _class_VisualScriptPropertySet_property_property:
  120. - :ref:`String<class_String>` **property**
  121. +-----------+---------------------+
  122. | *Default* | ``""`` |
  123. +-----------+---------------------+
  124. | *Setter* | set_property(value) |
  125. +-----------+---------------------+
  126. | *Getter* | get_property() |
  127. +-----------+---------------------+
  128. ----
  129. .. _class_VisualScriptPropertySet_property_set_mode:
  130. - :ref:`CallMode<enum_VisualScriptPropertySet_CallMode>` **set_mode**
  131. +-----------+----------------------+
  132. | *Default* | ``0`` |
  133. +-----------+----------------------+
  134. | *Setter* | set_call_mode(value) |
  135. +-----------+----------------------+
  136. | *Getter* | get_call_mode() |
  137. +-----------+----------------------+
  138. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  139. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  140. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`