class_skeletonmodification2djiggle.rst 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/SkeletonModification2DJiggle.xml.
  6. .. _class_SkeletonModification2DJiggle:
  7. SkeletonModification2DJiggle
  8. ============================
  9. **Inherits:** :ref:`SkeletonModification2D<class_SkeletonModification2D>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. A modification that jiggles :ref:`Bone2D<class_Bone2D>` nodes as they move towards a target.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. This modification moves a series of bones, typically called a bone chain, towards a target. What makes this modification special is that it calculates the velocity and acceleration for each bone in the bone chain, and runs a very light physics-like calculation using the inputted values. This allows the bones to overshoot the target and "jiggle" around. It can be configured to act more like a spring, or sway around like cloth might.
  15. This modification is useful for adding additional motion to things like hair, the edges of clothing, and more. It has several settings to that allow control over how the joint moves when the target moves.
  16. \ **Note:** The Jiggle modifier has ``jiggle_joints``, which are the data objects that hold the data for each joint in the Jiggle chain. This is different from than :ref:`Bone2D<class_Bone2D>` nodes! Jiggle joints hold the data needed for each :ref:`Bone2D<class_Bone2D>` in the bone chain used by the Jiggle modification.
  17. .. rst-class:: classref-reftable-group
  18. Properties
  19. ----------
  20. .. table::
  21. :widths: auto
  22. +---------------------------------+-------------------------------------------------------------------------------------------------------+-------------------+
  23. | :ref:`float<class_float>` | :ref:`damping<class_SkeletonModification2DJiggle_property_damping>` | ``0.75`` |
  24. +---------------------------------+-------------------------------------------------------------------------------------------------------+-------------------+
  25. | :ref:`Vector2<class_Vector2>` | :ref:`gravity<class_SkeletonModification2DJiggle_property_gravity>` | ``Vector2(0, 6)`` |
  26. +---------------------------------+-------------------------------------------------------------------------------------------------------+-------------------+
  27. | :ref:`int<class_int>` | :ref:`jiggle_data_chain_length<class_SkeletonModification2DJiggle_property_jiggle_data_chain_length>` | ``0`` |
  28. +---------------------------------+-------------------------------------------------------------------------------------------------------+-------------------+
  29. | :ref:`float<class_float>` | :ref:`mass<class_SkeletonModification2DJiggle_property_mass>` | ``0.75`` |
  30. +---------------------------------+-------------------------------------------------------------------------------------------------------+-------------------+
  31. | :ref:`float<class_float>` | :ref:`stiffness<class_SkeletonModification2DJiggle_property_stiffness>` | ``3.0`` |
  32. +---------------------------------+-------------------------------------------------------------------------------------------------------+-------------------+
  33. | :ref:`NodePath<class_NodePath>` | :ref:`target_nodepath<class_SkeletonModification2DJiggle_property_target_nodepath>` | ``NodePath("")`` |
  34. +---------------------------------+-------------------------------------------------------------------------------------------------------+-------------------+
  35. | :ref:`bool<class_bool>` | :ref:`use_gravity<class_SkeletonModification2DJiggle_property_use_gravity>` | ``false`` |
  36. +---------------------------------+-------------------------------------------------------------------------------------------------------+-------------------+
  37. .. rst-class:: classref-reftable-group
  38. Methods
  39. -------
  40. .. table::
  41. :widths: auto
  42. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  43. | :ref:`int<class_int>` | :ref:`get_collision_mask<class_SkeletonModification2DJiggle_method_get_collision_mask>` **(** **)** |const| |
  44. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  45. | :ref:`NodePath<class_NodePath>` | :ref:`get_jiggle_joint_bone2d_node<class_SkeletonModification2DJiggle_method_get_jiggle_joint_bone2d_node>` **(** :ref:`int<class_int>` joint_idx **)** |const| |
  46. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  47. | :ref:`int<class_int>` | :ref:`get_jiggle_joint_bone_index<class_SkeletonModification2DJiggle_method_get_jiggle_joint_bone_index>` **(** :ref:`int<class_int>` joint_idx **)** |const| |
  48. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  49. | :ref:`float<class_float>` | :ref:`get_jiggle_joint_damping<class_SkeletonModification2DJiggle_method_get_jiggle_joint_damping>` **(** :ref:`int<class_int>` joint_idx **)** |const| |
  50. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  51. | :ref:`Vector2<class_Vector2>` | :ref:`get_jiggle_joint_gravity<class_SkeletonModification2DJiggle_method_get_jiggle_joint_gravity>` **(** :ref:`int<class_int>` joint_idx **)** |const| |
  52. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  53. | :ref:`float<class_float>` | :ref:`get_jiggle_joint_mass<class_SkeletonModification2DJiggle_method_get_jiggle_joint_mass>` **(** :ref:`int<class_int>` joint_idx **)** |const| |
  54. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  55. | :ref:`bool<class_bool>` | :ref:`get_jiggle_joint_override<class_SkeletonModification2DJiggle_method_get_jiggle_joint_override>` **(** :ref:`int<class_int>` joint_idx **)** |const| |
  56. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  57. | :ref:`float<class_float>` | :ref:`get_jiggle_joint_stiffness<class_SkeletonModification2DJiggle_method_get_jiggle_joint_stiffness>` **(** :ref:`int<class_int>` joint_idx **)** |const| |
  58. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  59. | :ref:`bool<class_bool>` | :ref:`get_jiggle_joint_use_gravity<class_SkeletonModification2DJiggle_method_get_jiggle_joint_use_gravity>` **(** :ref:`int<class_int>` joint_idx **)** |const| |
  60. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  61. | :ref:`bool<class_bool>` | :ref:`get_use_colliders<class_SkeletonModification2DJiggle_method_get_use_colliders>` **(** **)** |const| |
  62. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  63. | void | :ref:`set_collision_mask<class_SkeletonModification2DJiggle_method_set_collision_mask>` **(** :ref:`int<class_int>` collision_mask **)** |
  64. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  65. | void | :ref:`set_jiggle_joint_bone2d_node<class_SkeletonModification2DJiggle_method_set_jiggle_joint_bone2d_node>` **(** :ref:`int<class_int>` joint_idx, :ref:`NodePath<class_NodePath>` bone2d_node **)** |
  66. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  67. | void | :ref:`set_jiggle_joint_bone_index<class_SkeletonModification2DJiggle_method_set_jiggle_joint_bone_index>` **(** :ref:`int<class_int>` joint_idx, :ref:`int<class_int>` bone_idx **)** |
  68. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  69. | void | :ref:`set_jiggle_joint_damping<class_SkeletonModification2DJiggle_method_set_jiggle_joint_damping>` **(** :ref:`int<class_int>` joint_idx, :ref:`float<class_float>` damping **)** |
  70. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  71. | void | :ref:`set_jiggle_joint_gravity<class_SkeletonModification2DJiggle_method_set_jiggle_joint_gravity>` **(** :ref:`int<class_int>` joint_idx, :ref:`Vector2<class_Vector2>` gravity **)** |
  72. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  73. | void | :ref:`set_jiggle_joint_mass<class_SkeletonModification2DJiggle_method_set_jiggle_joint_mass>` **(** :ref:`int<class_int>` joint_idx, :ref:`float<class_float>` mass **)** |
  74. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  75. | void | :ref:`set_jiggle_joint_override<class_SkeletonModification2DJiggle_method_set_jiggle_joint_override>` **(** :ref:`int<class_int>` joint_idx, :ref:`bool<class_bool>` override **)** |
  76. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  77. | void | :ref:`set_jiggle_joint_stiffness<class_SkeletonModification2DJiggle_method_set_jiggle_joint_stiffness>` **(** :ref:`int<class_int>` joint_idx, :ref:`float<class_float>` stiffness **)** |
  78. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  79. | void | :ref:`set_jiggle_joint_use_gravity<class_SkeletonModification2DJiggle_method_set_jiggle_joint_use_gravity>` **(** :ref:`int<class_int>` joint_idx, :ref:`bool<class_bool>` use_gravity **)** |
  80. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  81. | void | :ref:`set_use_colliders<class_SkeletonModification2DJiggle_method_set_use_colliders>` **(** :ref:`bool<class_bool>` use_colliders **)** |
  82. +---------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  83. .. rst-class:: classref-section-separator
  84. ----
  85. .. rst-class:: classref-descriptions-group
  86. Property Descriptions
  87. ---------------------
  88. .. _class_SkeletonModification2DJiggle_property_damping:
  89. .. rst-class:: classref-property
  90. :ref:`float<class_float>` **damping** = ``0.75``
  91. .. rst-class:: classref-property-setget
  92. - void **set_damping** **(** :ref:`float<class_float>` value **)**
  93. - :ref:`float<class_float>` **get_damping** **(** **)**
  94. The default amount of damping applied to the Jiggle joints, if they are not overridden. Higher values lead to more of the calculated velocity being applied.
  95. .. rst-class:: classref-item-separator
  96. ----
  97. .. _class_SkeletonModification2DJiggle_property_gravity:
  98. .. rst-class:: classref-property
  99. :ref:`Vector2<class_Vector2>` **gravity** = ``Vector2(0, 6)``
  100. .. rst-class:: classref-property-setget
  101. - void **set_gravity** **(** :ref:`Vector2<class_Vector2>` value **)**
  102. - :ref:`Vector2<class_Vector2>` **get_gravity** **(** **)**
  103. The default amount of gravity applied to the Jiggle joints, if they are not overridden.
  104. .. rst-class:: classref-item-separator
  105. ----
  106. .. _class_SkeletonModification2DJiggle_property_jiggle_data_chain_length:
  107. .. rst-class:: classref-property
  108. :ref:`int<class_int>` **jiggle_data_chain_length** = ``0``
  109. .. rst-class:: classref-property-setget
  110. - void **set_jiggle_data_chain_length** **(** :ref:`int<class_int>` value **)**
  111. - :ref:`int<class_int>` **get_jiggle_data_chain_length** **(** **)**
  112. The amount of Jiggle joints in the Jiggle modification.
  113. .. rst-class:: classref-item-separator
  114. ----
  115. .. _class_SkeletonModification2DJiggle_property_mass:
  116. .. rst-class:: classref-property
  117. :ref:`float<class_float>` **mass** = ``0.75``
  118. .. rst-class:: classref-property-setget
  119. - void **set_mass** **(** :ref:`float<class_float>` value **)**
  120. - :ref:`float<class_float>` **get_mass** **(** **)**
  121. The default amount of mass assigned to the Jiggle joints, if they are not overridden. Higher values lead to faster movements and more overshooting.
  122. .. rst-class:: classref-item-separator
  123. ----
  124. .. _class_SkeletonModification2DJiggle_property_stiffness:
  125. .. rst-class:: classref-property
  126. :ref:`float<class_float>` **stiffness** = ``3.0``
  127. .. rst-class:: classref-property-setget
  128. - void **set_stiffness** **(** :ref:`float<class_float>` value **)**
  129. - :ref:`float<class_float>` **get_stiffness** **(** **)**
  130. The default amount of stiffness assigned to the Jiggle joints, if they are not overridden. Higher values act more like springs, quickly moving into the correct position.
  131. .. rst-class:: classref-item-separator
  132. ----
  133. .. _class_SkeletonModification2DJiggle_property_target_nodepath:
  134. .. rst-class:: classref-property
  135. :ref:`NodePath<class_NodePath>` **target_nodepath** = ``NodePath("")``
  136. .. rst-class:: classref-property-setget
  137. - void **set_target_node** **(** :ref:`NodePath<class_NodePath>` value **)**
  138. - :ref:`NodePath<class_NodePath>` **get_target_node** **(** **)**
  139. The NodePath to the node that is the target for the Jiggle modification. This node is what the Jiggle chain will attempt to rotate the bone chain to.
  140. .. rst-class:: classref-item-separator
  141. ----
  142. .. _class_SkeletonModification2DJiggle_property_use_gravity:
  143. .. rst-class:: classref-property
  144. :ref:`bool<class_bool>` **use_gravity** = ``false``
  145. .. rst-class:: classref-property-setget
  146. - void **set_use_gravity** **(** :ref:`bool<class_bool>` value **)**
  147. - :ref:`bool<class_bool>` **get_use_gravity** **(** **)**
  148. Whether the gravity vector, :ref:`gravity<class_SkeletonModification2DJiggle_property_gravity>`, should be applied to the Jiggle joints, assuming they are not overriding the default settings.
  149. .. rst-class:: classref-section-separator
  150. ----
  151. .. rst-class:: classref-descriptions-group
  152. Method Descriptions
  153. -------------------
  154. .. _class_SkeletonModification2DJiggle_method_get_collision_mask:
  155. .. rst-class:: classref-method
  156. :ref:`int<class_int>` **get_collision_mask** **(** **)** |const|
  157. Returns the collision mask used by the Jiggle modifier when collisions are enabled.
  158. .. rst-class:: classref-item-separator
  159. ----
  160. .. _class_SkeletonModification2DJiggle_method_get_jiggle_joint_bone2d_node:
  161. .. rst-class:: classref-method
  162. :ref:`NodePath<class_NodePath>` **get_jiggle_joint_bone2d_node** **(** :ref:`int<class_int>` joint_idx **)** |const|
  163. Returns the :ref:`Bone2D<class_Bone2D>` node assigned to the Jiggle joint at ``joint_idx``.
  164. .. rst-class:: classref-item-separator
  165. ----
  166. .. _class_SkeletonModification2DJiggle_method_get_jiggle_joint_bone_index:
  167. .. rst-class:: classref-method
  168. :ref:`int<class_int>` **get_jiggle_joint_bone_index** **(** :ref:`int<class_int>` joint_idx **)** |const|
  169. Returns the index of the :ref:`Bone2D<class_Bone2D>` node assigned to the Jiggle joint at ``joint_idx``.
  170. .. rst-class:: classref-item-separator
  171. ----
  172. .. _class_SkeletonModification2DJiggle_method_get_jiggle_joint_damping:
  173. .. rst-class:: classref-method
  174. :ref:`float<class_float>` **get_jiggle_joint_damping** **(** :ref:`int<class_int>` joint_idx **)** |const|
  175. Returns the amount of damping of the Jiggle joint at ``joint_idx``.
  176. .. rst-class:: classref-item-separator
  177. ----
  178. .. _class_SkeletonModification2DJiggle_method_get_jiggle_joint_gravity:
  179. .. rst-class:: classref-method
  180. :ref:`Vector2<class_Vector2>` **get_jiggle_joint_gravity** **(** :ref:`int<class_int>` joint_idx **)** |const|
  181. Returns a :ref:`Vector2<class_Vector2>` representing the amount of gravity the Jiggle joint at ``joint_idx`` is influenced by.
  182. .. rst-class:: classref-item-separator
  183. ----
  184. .. _class_SkeletonModification2DJiggle_method_get_jiggle_joint_mass:
  185. .. rst-class:: classref-method
  186. :ref:`float<class_float>` **get_jiggle_joint_mass** **(** :ref:`int<class_int>` joint_idx **)** |const|
  187. Returns the amount of mass of the jiggle joint at ``joint_idx``.
  188. .. rst-class:: classref-item-separator
  189. ----
  190. .. _class_SkeletonModification2DJiggle_method_get_jiggle_joint_override:
  191. .. rst-class:: classref-method
  192. :ref:`bool<class_bool>` **get_jiggle_joint_override** **(** :ref:`int<class_int>` joint_idx **)** |const|
  193. Returns a boolean that indicates whether the joint at ``joint_idx`` is overriding the default Jiggle joint data defined in the modification.
  194. .. rst-class:: classref-item-separator
  195. ----
  196. .. _class_SkeletonModification2DJiggle_method_get_jiggle_joint_stiffness:
  197. .. rst-class:: classref-method
  198. :ref:`float<class_float>` **get_jiggle_joint_stiffness** **(** :ref:`int<class_int>` joint_idx **)** |const|
  199. Returns the stiffness of the Jiggle joint at ``joint_idx``.
  200. .. rst-class:: classref-item-separator
  201. ----
  202. .. _class_SkeletonModification2DJiggle_method_get_jiggle_joint_use_gravity:
  203. .. rst-class:: classref-method
  204. :ref:`bool<class_bool>` **get_jiggle_joint_use_gravity** **(** :ref:`int<class_int>` joint_idx **)** |const|
  205. Returns a boolean that indicates whether the joint at ``joint_idx`` is using gravity or not.
  206. .. rst-class:: classref-item-separator
  207. ----
  208. .. _class_SkeletonModification2DJiggle_method_get_use_colliders:
  209. .. rst-class:: classref-method
  210. :ref:`bool<class_bool>` **get_use_colliders** **(** **)** |const|
  211. Returns whether the jiggle modifier is taking physics colliders into account when solving.
  212. .. rst-class:: classref-item-separator
  213. ----
  214. .. _class_SkeletonModification2DJiggle_method_set_collision_mask:
  215. .. rst-class:: classref-method
  216. void **set_collision_mask** **(** :ref:`int<class_int>` collision_mask **)**
  217. Sets the collision mask that the Jiggle modifier will use when reacting to colliders, if the Jiggle modifier is set to take colliders into account.
  218. .. rst-class:: classref-item-separator
  219. ----
  220. .. _class_SkeletonModification2DJiggle_method_set_jiggle_joint_bone2d_node:
  221. .. rst-class:: classref-method
  222. void **set_jiggle_joint_bone2d_node** **(** :ref:`int<class_int>` joint_idx, :ref:`NodePath<class_NodePath>` bone2d_node **)**
  223. Sets the :ref:`Bone2D<class_Bone2D>` node assigned to the Jiggle joint at ``joint_idx``.
  224. .. rst-class:: classref-item-separator
  225. ----
  226. .. _class_SkeletonModification2DJiggle_method_set_jiggle_joint_bone_index:
  227. .. rst-class:: classref-method
  228. void **set_jiggle_joint_bone_index** **(** :ref:`int<class_int>` joint_idx, :ref:`int<class_int>` bone_idx **)**
  229. Sets the bone index, ``bone_idx``, of the Jiggle joint at ``joint_idx``. When possible, this will also update the ``bone2d_node`` of the Jiggle joint based on data provided by the linked skeleton.
  230. .. rst-class:: classref-item-separator
  231. ----
  232. .. _class_SkeletonModification2DJiggle_method_set_jiggle_joint_damping:
  233. .. rst-class:: classref-method
  234. void **set_jiggle_joint_damping** **(** :ref:`int<class_int>` joint_idx, :ref:`float<class_float>` damping **)**
  235. Sets the amount of damping of the Jiggle joint at ``joint_idx``.
  236. .. rst-class:: classref-item-separator
  237. ----
  238. .. _class_SkeletonModification2DJiggle_method_set_jiggle_joint_gravity:
  239. .. rst-class:: classref-method
  240. void **set_jiggle_joint_gravity** **(** :ref:`int<class_int>` joint_idx, :ref:`Vector2<class_Vector2>` gravity **)**
  241. Sets the gravity vector of the Jiggle joint at ``joint_idx``.
  242. .. rst-class:: classref-item-separator
  243. ----
  244. .. _class_SkeletonModification2DJiggle_method_set_jiggle_joint_mass:
  245. .. rst-class:: classref-method
  246. void **set_jiggle_joint_mass** **(** :ref:`int<class_int>` joint_idx, :ref:`float<class_float>` mass **)**
  247. Sets the of mass of the Jiggle joint at ``joint_idx``.
  248. .. rst-class:: classref-item-separator
  249. ----
  250. .. _class_SkeletonModification2DJiggle_method_set_jiggle_joint_override:
  251. .. rst-class:: classref-method
  252. void **set_jiggle_joint_override** **(** :ref:`int<class_int>` joint_idx, :ref:`bool<class_bool>` override **)**
  253. Sets whether the Jiggle joint at ``joint_idx`` should override the default Jiggle joint settings. Setting this to ``true`` will make the joint use its own settings rather than the default ones attached to the modification.
  254. .. rst-class:: classref-item-separator
  255. ----
  256. .. _class_SkeletonModification2DJiggle_method_set_jiggle_joint_stiffness:
  257. .. rst-class:: classref-method
  258. void **set_jiggle_joint_stiffness** **(** :ref:`int<class_int>` joint_idx, :ref:`float<class_float>` stiffness **)**
  259. Sets the of stiffness of the Jiggle joint at ``joint_idx``.
  260. .. rst-class:: classref-item-separator
  261. ----
  262. .. _class_SkeletonModification2DJiggle_method_set_jiggle_joint_use_gravity:
  263. .. rst-class:: classref-method
  264. void **set_jiggle_joint_use_gravity** **(** :ref:`int<class_int>` joint_idx, :ref:`bool<class_bool>` use_gravity **)**
  265. Sets whether the Jiggle joint at ``joint_idx`` should use gravity.
  266. .. rst-class:: classref-item-separator
  267. ----
  268. .. _class_SkeletonModification2DJiggle_method_set_use_colliders:
  269. .. rst-class:: classref-method
  270. void **set_use_colliders** **(** :ref:`bool<class_bool>` use_colliders **)**
  271. If ``true``, the Jiggle modifier will take colliders into account, keeping them from entering into these collision objects.
  272. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  273. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  274. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  275. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  276. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  277. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  278. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`