class_spritebase3d.rst 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  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/3.6/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/3.6/doc/classes/SpriteBase3D.xml.
  6. .. _class_SpriteBase3D:
  7. SpriteBase3D
  8. ============
  9. **Inherits:** :ref:`GeometryInstance<class_GeometryInstance>` **<** :ref:`VisualInstance<class_VisualInstance>` **<** :ref:`CullInstance<class_CullInstance>` **<** :ref:`Spatial<class_Spatial>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  10. **Inherited By:** :ref:`AnimatedSprite3D<class_AnimatedSprite3D>`, :ref:`Sprite3D<class_Sprite3D>`
  11. 2D sprite node in 3D environment.
  12. .. rst-class:: classref-introduction-group
  13. Description
  14. -----------
  15. A node that displays 2D texture information in a 3D environment.
  16. .. rst-class:: classref-reftable-group
  17. Properties
  18. ----------
  19. .. table::
  20. :widths: auto
  21. +-----------------------------------------------------+---------------------------------------------------------------------+-------------------------+
  22. | :ref:`AlphaCutMode<enum_SpriteBase3D_AlphaCutMode>` | :ref:`alpha_cut<class_SpriteBase3D_property_alpha_cut>` | ``0`` |
  23. +-----------------------------------------------------+---------------------------------------------------------------------+-------------------------+
  24. | Vector3.Axis | :ref:`axis<class_SpriteBase3D_property_axis>` | ``2`` |
  25. +-----------------------------------------------------+---------------------------------------------------------------------+-------------------------+
  26. | :ref:`BillboardMode<enum_Material3D_BillboardMode>` | :ref:`billboard<class_SpriteBase3D_property_billboard>` | ``0`` |
  27. +-----------------------------------------------------+---------------------------------------------------------------------+-------------------------+
  28. | :ref:`bool<class_bool>` | :ref:`centered<class_SpriteBase3D_property_centered>` | ``true`` |
  29. +-----------------------------------------------------+---------------------------------------------------------------------+-------------------------+
  30. | :ref:`bool<class_bool>` | :ref:`double_sided<class_SpriteBase3D_property_double_sided>` | ``true`` |
  31. +-----------------------------------------------------+---------------------------------------------------------------------+-------------------------+
  32. | :ref:`bool<class_bool>` | :ref:`fixed_size<class_SpriteBase3D_property_fixed_size>` | ``false`` |
  33. +-----------------------------------------------------+---------------------------------------------------------------------+-------------------------+
  34. | :ref:`bool<class_bool>` | :ref:`flip_h<class_SpriteBase3D_property_flip_h>` | ``false`` |
  35. +-----------------------------------------------------+---------------------------------------------------------------------+-------------------------+
  36. | :ref:`bool<class_bool>` | :ref:`flip_v<class_SpriteBase3D_property_flip_v>` | ``false`` |
  37. +-----------------------------------------------------+---------------------------------------------------------------------+-------------------------+
  38. | :ref:`Color<class_Color>` | :ref:`modulate<class_SpriteBase3D_property_modulate>` | ``Color( 1, 1, 1, 1 )`` |
  39. +-----------------------------------------------------+---------------------------------------------------------------------+-------------------------+
  40. | :ref:`bool<class_bool>` | :ref:`no_depth_test<class_SpriteBase3D_property_no_depth_test>` | ``false`` |
  41. +-----------------------------------------------------+---------------------------------------------------------------------+-------------------------+
  42. | :ref:`Vector2<class_Vector2>` | :ref:`offset<class_SpriteBase3D_property_offset>` | ``Vector2( 0, 0 )`` |
  43. +-----------------------------------------------------+---------------------------------------------------------------------+-------------------------+
  44. | :ref:`float<class_float>` | :ref:`opacity<class_SpriteBase3D_property_opacity>` | ``1.0`` |
  45. +-----------------------------------------------------+---------------------------------------------------------------------+-------------------------+
  46. | :ref:`float<class_float>` | :ref:`pixel_size<class_SpriteBase3D_property_pixel_size>` | ``0.01`` |
  47. +-----------------------------------------------------+---------------------------------------------------------------------+-------------------------+
  48. | :ref:`int<class_int>` | :ref:`render_priority<class_SpriteBase3D_property_render_priority>` | ``0`` |
  49. +-----------------------------------------------------+---------------------------------------------------------------------+-------------------------+
  50. | :ref:`bool<class_bool>` | :ref:`shaded<class_SpriteBase3D_property_shaded>` | ``false`` |
  51. +-----------------------------------------------------+---------------------------------------------------------------------+-------------------------+
  52. | :ref:`bool<class_bool>` | :ref:`transparent<class_SpriteBase3D_property_transparent>` | ``true`` |
  53. +-----------------------------------------------------+---------------------------------------------------------------------+-------------------------+
  54. .. rst-class:: classref-reftable-group
  55. Methods
  56. -------
  57. .. table::
  58. :widths: auto
  59. +-----------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
  60. | :ref:`TriangleMesh<class_TriangleMesh>` | :ref:`generate_triangle_mesh<class_SpriteBase3D_method_generate_triangle_mesh>` **(** **)** |const| |
  61. +-----------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
  62. | :ref:`bool<class_bool>` | :ref:`get_draw_flag<class_SpriteBase3D_method_get_draw_flag>` **(** :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` flag **)** |const| |
  63. +-----------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
  64. | :ref:`Rect2<class_Rect2>` | :ref:`get_item_rect<class_SpriteBase3D_method_get_item_rect>` **(** **)** |const| |
  65. +-----------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
  66. | void | :ref:`set_draw_flag<class_SpriteBase3D_method_set_draw_flag>` **(** :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` flag, :ref:`bool<class_bool>` enabled **)** |
  67. +-----------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
  68. .. rst-class:: classref-section-separator
  69. ----
  70. .. rst-class:: classref-descriptions-group
  71. Enumerations
  72. ------------
  73. .. _enum_SpriteBase3D_DrawFlags:
  74. .. rst-class:: classref-enumeration
  75. enum **DrawFlags**:
  76. .. _class_SpriteBase3D_constant_FLAG_TRANSPARENT:
  77. .. rst-class:: classref-enumeration-constant
  78. :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` **FLAG_TRANSPARENT** = ``0``
  79. If set, the texture's transparency and the opacity are used to make those parts of the sprite invisible.
  80. .. _class_SpriteBase3D_constant_FLAG_SHADED:
  81. .. rst-class:: classref-enumeration-constant
  82. :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` **FLAG_SHADED** = ``1``
  83. If set, lights in the environment affect the sprite.
  84. .. _class_SpriteBase3D_constant_FLAG_DOUBLE_SIDED:
  85. .. rst-class:: classref-enumeration-constant
  86. :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` **FLAG_DOUBLE_SIDED** = ``2``
  87. If set, texture can be seen from the back as well, if not, it is invisible when looking at it from behind.
  88. .. _class_SpriteBase3D_constant_FLAG_DISABLE_DEPTH_TEST:
  89. .. rst-class:: classref-enumeration-constant
  90. :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` **FLAG_DISABLE_DEPTH_TEST** = ``3``
  91. Disables the depth test, so this object is drawn on top of all others. However, objects drawn after it in the draw order may cover it.
  92. .. _class_SpriteBase3D_constant_FLAG_FIXED_SIZE:
  93. .. rst-class:: classref-enumeration-constant
  94. :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` **FLAG_FIXED_SIZE** = ``4``
  95. Sprite is scaled by depth so that it always appears the same size on screen.
  96. .. _class_SpriteBase3D_constant_FLAG_MAX:
  97. .. rst-class:: classref-enumeration-constant
  98. :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` **FLAG_MAX** = ``5``
  99. Represents the size of the :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` enum.
  100. .. rst-class:: classref-item-separator
  101. ----
  102. .. _enum_SpriteBase3D_AlphaCutMode:
  103. .. rst-class:: classref-enumeration
  104. enum **AlphaCutMode**:
  105. .. _class_SpriteBase3D_constant_ALPHA_CUT_DISABLED:
  106. .. rst-class:: classref-enumeration-constant
  107. :ref:`AlphaCutMode<enum_SpriteBase3D_AlphaCutMode>` **ALPHA_CUT_DISABLED** = ``0``
  108. .. _class_SpriteBase3D_constant_ALPHA_CUT_DISCARD:
  109. .. rst-class:: classref-enumeration-constant
  110. :ref:`AlphaCutMode<enum_SpriteBase3D_AlphaCutMode>` **ALPHA_CUT_DISCARD** = ``1``
  111. .. _class_SpriteBase3D_constant_ALPHA_CUT_OPAQUE_PREPASS:
  112. .. rst-class:: classref-enumeration-constant
  113. :ref:`AlphaCutMode<enum_SpriteBase3D_AlphaCutMode>` **ALPHA_CUT_OPAQUE_PREPASS** = ``2``
  114. .. rst-class:: classref-section-separator
  115. ----
  116. .. rst-class:: classref-descriptions-group
  117. Property Descriptions
  118. ---------------------
  119. .. _class_SpriteBase3D_property_alpha_cut:
  120. .. rst-class:: classref-property
  121. :ref:`AlphaCutMode<enum_SpriteBase3D_AlphaCutMode>` **alpha_cut** = ``0``
  122. .. rst-class:: classref-property-setget
  123. - void **set_alpha_cut_mode** **(** :ref:`AlphaCutMode<enum_SpriteBase3D_AlphaCutMode>` value **)**
  124. - :ref:`AlphaCutMode<enum_SpriteBase3D_AlphaCutMode>` **get_alpha_cut_mode** **(** **)**
  125. .. container:: contribute
  126. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  127. .. rst-class:: classref-item-separator
  128. ----
  129. .. _class_SpriteBase3D_property_axis:
  130. .. rst-class:: classref-property
  131. Vector3.Axis **axis** = ``2``
  132. .. rst-class:: classref-property-setget
  133. - void **set_axis** **(** Vector3.Axis value **)**
  134. - Vector3.Axis **get_axis** **(** **)**
  135. The direction in which the front of the texture faces.
  136. .. rst-class:: classref-item-separator
  137. ----
  138. .. _class_SpriteBase3D_property_billboard:
  139. .. rst-class:: classref-property
  140. :ref:`BillboardMode<enum_Material3D_BillboardMode>` **billboard** = ``0``
  141. .. rst-class:: classref-property-setget
  142. - void **set_billboard_mode** **(** :ref:`BillboardMode<enum_Material3D_BillboardMode>` value **)**
  143. - :ref:`BillboardMode<enum_Material3D_BillboardMode>` **get_billboard_mode** **(** **)**
  144. .. container:: contribute
  145. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  146. .. rst-class:: classref-item-separator
  147. ----
  148. .. _class_SpriteBase3D_property_centered:
  149. .. rst-class:: classref-property
  150. :ref:`bool<class_bool>` **centered** = ``true``
  151. .. rst-class:: classref-property-setget
  152. - void **set_centered** **(** :ref:`bool<class_bool>` value **)**
  153. - :ref:`bool<class_bool>` **is_centered** **(** **)**
  154. If ``true``, texture will be centered.
  155. .. rst-class:: classref-item-separator
  156. ----
  157. .. _class_SpriteBase3D_property_double_sided:
  158. .. rst-class:: classref-property
  159. :ref:`bool<class_bool>` **double_sided** = ``true``
  160. .. rst-class:: classref-property-setget
  161. - void **set_draw_flag** **(** :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` flag, :ref:`bool<class_bool>` enabled **)**
  162. - :ref:`bool<class_bool>` **get_draw_flag** **(** :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` flag **)** |const|
  163. If ``true``, texture can be seen from the back as well, if ``false``, it is invisible when looking at it from behind.
  164. .. rst-class:: classref-item-separator
  165. ----
  166. .. _class_SpriteBase3D_property_fixed_size:
  167. .. rst-class:: classref-property
  168. :ref:`bool<class_bool>` **fixed_size** = ``false``
  169. .. rst-class:: classref-property-setget
  170. - void **set_draw_flag** **(** :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` flag, :ref:`bool<class_bool>` enabled **)**
  171. - :ref:`bool<class_bool>` **get_draw_flag** **(** :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` flag **)** |const|
  172. If ``true``, the label is rendered at the same size regardless of distance.
  173. .. rst-class:: classref-item-separator
  174. ----
  175. .. _class_SpriteBase3D_property_flip_h:
  176. .. rst-class:: classref-property
  177. :ref:`bool<class_bool>` **flip_h** = ``false``
  178. .. rst-class:: classref-property-setget
  179. - void **set_flip_h** **(** :ref:`bool<class_bool>` value **)**
  180. - :ref:`bool<class_bool>` **is_flipped_h** **(** **)**
  181. If ``true``, texture is flipped horizontally.
  182. .. rst-class:: classref-item-separator
  183. ----
  184. .. _class_SpriteBase3D_property_flip_v:
  185. .. rst-class:: classref-property
  186. :ref:`bool<class_bool>` **flip_v** = ``false``
  187. .. rst-class:: classref-property-setget
  188. - void **set_flip_v** **(** :ref:`bool<class_bool>` value **)**
  189. - :ref:`bool<class_bool>` **is_flipped_v** **(** **)**
  190. If ``true``, texture is flipped vertically.
  191. .. rst-class:: classref-item-separator
  192. ----
  193. .. _class_SpriteBase3D_property_modulate:
  194. .. rst-class:: classref-property
  195. :ref:`Color<class_Color>` **modulate** = ``Color( 1, 1, 1, 1 )``
  196. .. rst-class:: classref-property-setget
  197. - void **set_modulate** **(** :ref:`Color<class_Color>` value **)**
  198. - :ref:`Color<class_Color>` **get_modulate** **(** **)**
  199. A color value used to *multiply* the texture's colors. Can be used for mood-coloring or to simulate the color of light.
  200. \ **Note:** If a :ref:`GeometryInstance.material_override<class_GeometryInstance_property_material_override>` is defined on the **SpriteBase3D**, the material override must be configured to take vertex colors into account for albedo. Otherwise, the color defined in :ref:`modulate<class_SpriteBase3D_property_modulate>` will be ignored. For a :ref:`SpatialMaterial<class_SpatialMaterial>`, :ref:`Material3D.vertex_color_use_as_albedo<class_Material3D_property_vertex_color_use_as_albedo>` must be ``true``. For a :ref:`ShaderMaterial<class_ShaderMaterial>`, ``ALBEDO *= COLOR.rgb;`` must be inserted in the shader's ``fragment()`` function.
  201. .. rst-class:: classref-item-separator
  202. ----
  203. .. _class_SpriteBase3D_property_no_depth_test:
  204. .. rst-class:: classref-property
  205. :ref:`bool<class_bool>` **no_depth_test** = ``false``
  206. .. rst-class:: classref-property-setget
  207. - void **set_draw_flag** **(** :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` flag, :ref:`bool<class_bool>` enabled **)**
  208. - :ref:`bool<class_bool>` **get_draw_flag** **(** :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` flag **)** |const|
  209. If ``true``, depth testing is disabled and the object will be drawn in render order.
  210. .. rst-class:: classref-item-separator
  211. ----
  212. .. _class_SpriteBase3D_property_offset:
  213. .. rst-class:: classref-property
  214. :ref:`Vector2<class_Vector2>` **offset** = ``Vector2( 0, 0 )``
  215. .. rst-class:: classref-property-setget
  216. - void **set_offset** **(** :ref:`Vector2<class_Vector2>` value **)**
  217. - :ref:`Vector2<class_Vector2>` **get_offset** **(** **)**
  218. The texture's drawing offset.
  219. .. rst-class:: classref-item-separator
  220. ----
  221. .. _class_SpriteBase3D_property_opacity:
  222. .. rst-class:: classref-property
  223. :ref:`float<class_float>` **opacity** = ``1.0``
  224. .. rst-class:: classref-property-setget
  225. - void **set_opacity** **(** :ref:`float<class_float>` value **)**
  226. - :ref:`float<class_float>` **get_opacity** **(** **)**
  227. The texture's visibility on a scale from ``0`` (fully invisible) to ``1`` (fully visible). :ref:`opacity<class_SpriteBase3D_property_opacity>` is a multiplier for the :ref:`modulate<class_SpriteBase3D_property_modulate>` color's alpha channel.
  228. \ **Note:** If a :ref:`GeometryInstance.material_override<class_GeometryInstance_property_material_override>` is defined on the **SpriteBase3D**, the material override must be configured to take vertex colors into account for albedo. Otherwise, the opacity defined in :ref:`opacity<class_SpriteBase3D_property_opacity>` will be ignored. For a :ref:`SpatialMaterial<class_SpatialMaterial>`, :ref:`Material3D.vertex_color_use_as_albedo<class_Material3D_property_vertex_color_use_as_albedo>` must be ``true``. For a :ref:`ShaderMaterial<class_ShaderMaterial>`, ``ALPHA *= COLOR.a;`` must be inserted in the shader's ``fragment()`` function.
  229. .. rst-class:: classref-item-separator
  230. ----
  231. .. _class_SpriteBase3D_property_pixel_size:
  232. .. rst-class:: classref-property
  233. :ref:`float<class_float>` **pixel_size** = ``0.01``
  234. .. rst-class:: classref-property-setget
  235. - void **set_pixel_size** **(** :ref:`float<class_float>` value **)**
  236. - :ref:`float<class_float>` **get_pixel_size** **(** **)**
  237. The size of one pixel's width on the sprite to scale it in 3D.
  238. .. rst-class:: classref-item-separator
  239. ----
  240. .. _class_SpriteBase3D_property_render_priority:
  241. .. rst-class:: classref-property
  242. :ref:`int<class_int>` **render_priority** = ``0``
  243. .. rst-class:: classref-property-setget
  244. - void **set_render_priority** **(** :ref:`int<class_int>` value **)**
  245. - :ref:`int<class_int>` **get_render_priority** **(** **)**
  246. Sets the render priority for the sprite. Higher priority objects will be sorted in front of lower priority objects.
  247. \ **Note:** This only applies if :ref:`alpha_cut<class_SpriteBase3D_property_alpha_cut>` is set to :ref:`ALPHA_CUT_DISABLED<class_SpriteBase3D_constant_ALPHA_CUT_DISABLED>` (default value).
  248. \ **Note:** This only applies to sorting of transparent objects. This will not impact how transparent objects are sorted relative to opaque objects. This is because opaque objects are not sorted, while transparent objects are sorted from back to front (subject to priority).
  249. .. rst-class:: classref-item-separator
  250. ----
  251. .. _class_SpriteBase3D_property_shaded:
  252. .. rst-class:: classref-property
  253. :ref:`bool<class_bool>` **shaded** = ``false``
  254. .. rst-class:: classref-property-setget
  255. - void **set_draw_flag** **(** :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` flag, :ref:`bool<class_bool>` enabled **)**
  256. - :ref:`bool<class_bool>` **get_draw_flag** **(** :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` flag **)** |const|
  257. If ``true``, the :ref:`Light<class_Light>` in the :ref:`Environment<class_Environment>` has effects on the sprite.
  258. .. rst-class:: classref-item-separator
  259. ----
  260. .. _class_SpriteBase3D_property_transparent:
  261. .. rst-class:: classref-property
  262. :ref:`bool<class_bool>` **transparent** = ``true``
  263. .. rst-class:: classref-property-setget
  264. - void **set_draw_flag** **(** :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` flag, :ref:`bool<class_bool>` enabled **)**
  265. - :ref:`bool<class_bool>` **get_draw_flag** **(** :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` flag **)** |const|
  266. If ``true``, the texture's transparency and the opacity are used to make those parts of the sprite invisible.
  267. .. rst-class:: classref-section-separator
  268. ----
  269. .. rst-class:: classref-descriptions-group
  270. Method Descriptions
  271. -------------------
  272. .. _class_SpriteBase3D_method_generate_triangle_mesh:
  273. .. rst-class:: classref-method
  274. :ref:`TriangleMesh<class_TriangleMesh>` **generate_triangle_mesh** **(** **)** |const|
  275. .. container:: contribute
  276. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  277. .. rst-class:: classref-item-separator
  278. ----
  279. .. _class_SpriteBase3D_method_get_draw_flag:
  280. .. rst-class:: classref-method
  281. :ref:`bool<class_bool>` **get_draw_flag** **(** :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` flag **)** |const|
  282. Returns the value of the specified flag.
  283. .. rst-class:: classref-item-separator
  284. ----
  285. .. _class_SpriteBase3D_method_get_item_rect:
  286. .. rst-class:: classref-method
  287. :ref:`Rect2<class_Rect2>` **get_item_rect** **(** **)** |const|
  288. Returns the rectangle representing this sprite.
  289. .. rst-class:: classref-item-separator
  290. ----
  291. .. _class_SpriteBase3D_method_set_draw_flag:
  292. .. rst-class:: classref-method
  293. void **set_draw_flag** **(** :ref:`DrawFlags<enum_SpriteBase3D_DrawFlags>` flag, :ref:`bool<class_bool>` enabled **)**
  294. If ``true``, the specified flag will be enabled.
  295. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  296. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  297. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  298. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`