class_arrayoccluder3d.rst 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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/4.0/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/4.0/doc/classes/ArrayOccluder3D.xml.
  6. .. _class_ArrayOccluder3D:
  7. ArrayOccluder3D
  8. ===============
  9. **Inherits:** :ref:`Occluder3D<class_Occluder3D>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. 3D polygon shape for use with occlusion culling in :ref:`OccluderInstance3D<class_OccluderInstance3D>`.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. **ArrayOccluder3D** stores an arbitrary 3D polygon shape that can be used by the engine's occlusion culling system. This is analogous to :ref:`ArrayMesh<class_ArrayMesh>`, but for occluders.
  15. See :ref:`OccluderInstance3D<class_OccluderInstance3D>`'s documentation for instructions on setting up occlusion culling.
  16. .. rst-class:: classref-reftable-group
  17. Properties
  18. ----------
  19. .. table::
  20. :widths: auto
  21. +-----------------------------------------------------+----------------------------------------------------------+--------------------------+
  22. | :ref:`PackedInt32Array<class_PackedInt32Array>` | :ref:`indices<class_ArrayOccluder3D_property_indices>` | ``PackedInt32Array()`` |
  23. +-----------------------------------------------------+----------------------------------------------------------+--------------------------+
  24. | :ref:`PackedVector3Array<class_PackedVector3Array>` | :ref:`vertices<class_ArrayOccluder3D_property_vertices>` | ``PackedVector3Array()`` |
  25. +-----------------------------------------------------+----------------------------------------------------------+--------------------------+
  26. .. rst-class:: classref-reftable-group
  27. Methods
  28. -------
  29. .. table::
  30. :widths: auto
  31. +------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  32. | void | :ref:`set_arrays<class_ArrayOccluder3D_method_set_arrays>` **(** :ref:`PackedVector3Array<class_PackedVector3Array>` vertices, :ref:`PackedInt32Array<class_PackedInt32Array>` indices **)** |
  33. +------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  34. .. rst-class:: classref-section-separator
  35. ----
  36. .. rst-class:: classref-descriptions-group
  37. Property Descriptions
  38. ---------------------
  39. .. _class_ArrayOccluder3D_property_indices:
  40. .. rst-class:: classref-property
  41. :ref:`PackedInt32Array<class_PackedInt32Array>` **indices** = ``PackedInt32Array()``
  42. .. rst-class:: classref-property-setget
  43. - void **set_indices** **(** :ref:`PackedInt32Array<class_PackedInt32Array>` value **)**
  44. - :ref:`PackedInt32Array<class_PackedInt32Array>` **get_indices** **(** **)**
  45. .. container:: contribute
  46. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  47. .. rst-class:: classref-item-separator
  48. ----
  49. .. _class_ArrayOccluder3D_property_vertices:
  50. .. rst-class:: classref-property
  51. :ref:`PackedVector3Array<class_PackedVector3Array>` **vertices** = ``PackedVector3Array()``
  52. .. rst-class:: classref-property-setget
  53. - void **set_vertices** **(** :ref:`PackedVector3Array<class_PackedVector3Array>` value **)**
  54. - :ref:`PackedVector3Array<class_PackedVector3Array>` **get_vertices** **(** **)**
  55. .. container:: contribute
  56. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  57. .. rst-class:: classref-section-separator
  58. ----
  59. .. rst-class:: classref-descriptions-group
  60. Method Descriptions
  61. -------------------
  62. .. _class_ArrayOccluder3D_method_set_arrays:
  63. .. rst-class:: classref-method
  64. void **set_arrays** **(** :ref:`PackedVector3Array<class_PackedVector3Array>` vertices, :ref:`PackedInt32Array<class_PackedInt32Array>` indices **)**
  65. .. container:: contribute
  66. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  67. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  68. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  69. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  70. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  71. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  72. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`