class_bakedlightmapdata.rst 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  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/BakedLightmapData.xml.
  6. .. _class_BakedLightmapData:
  7. BakedLightmapData
  8. =================
  9. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  10. .. container:: contribute
  11. There is currently no description for this class. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  12. .. rst-class:: classref-reftable-group
  13. Properties
  14. ----------
  15. .. table::
  16. :widths: auto
  17. +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+
  18. | :ref:`AABB<class_AABB>` | :ref:`bounds<class_BakedLightmapData_property_bounds>` | ``AABB( 0, 0, 0, 0, 0, 0 )`` |
  19. +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+
  20. | :ref:`Transform<class_Transform>` | :ref:`cell_space_transform<class_BakedLightmapData_property_cell_space_transform>` | ``Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )`` |
  21. +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+
  22. | :ref:`int<class_int>` | :ref:`cell_subdiv<class_BakedLightmapData_property_cell_subdiv>` | ``1`` |
  23. +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+
  24. | :ref:`float<class_float>` | :ref:`energy<class_BakedLightmapData_property_energy>` | ``1.0`` |
  25. +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+
  26. | :ref:`bool<class_bool>` | :ref:`interior<class_BakedLightmapData_property_interior>` | ``false`` |
  27. +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+
  28. | :ref:`PoolByteArray<class_PoolByteArray>` | :ref:`octree<class_BakedLightmapData_property_octree>` | ``PoolByteArray( )`` |
  29. +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+
  30. .. rst-class:: classref-reftable-group
  31. Methods
  32. -------
  33. .. table::
  34. :widths: auto
  35. +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  36. | void | :ref:`add_user<class_BakedLightmapData_method_add_user>` **(** :ref:`NodePath<class_NodePath>` path, :ref:`Resource<class_Resource>` lightmap, :ref:`int<class_int>` lightmap_slice, :ref:`Rect2<class_Rect2>` lightmap_uv_rect, :ref:`int<class_int>` instance **)** |
  37. +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  38. | void | :ref:`clear_data<class_BakedLightmapData_method_clear_data>` **(** **)** |
  39. +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  40. | void | :ref:`clear_users<class_BakedLightmapData_method_clear_users>` **(** **)** |
  41. +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  42. | :ref:`int<class_int>` | :ref:`get_user_count<class_BakedLightmapData_method_get_user_count>` **(** **)** |const| |
  43. +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  44. | :ref:`Resource<class_Resource>` | :ref:`get_user_lightmap<class_BakedLightmapData_method_get_user_lightmap>` **(** :ref:`int<class_int>` user_idx **)** |const| |
  45. +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  46. | :ref:`NodePath<class_NodePath>` | :ref:`get_user_path<class_BakedLightmapData_method_get_user_path>` **(** :ref:`int<class_int>` user_idx **)** |const| |
  47. +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  48. .. rst-class:: classref-section-separator
  49. ----
  50. .. rst-class:: classref-descriptions-group
  51. Property Descriptions
  52. ---------------------
  53. .. _class_BakedLightmapData_property_bounds:
  54. .. rst-class:: classref-property
  55. :ref:`AABB<class_AABB>` **bounds** = ``AABB( 0, 0, 0, 0, 0, 0 )``
  56. .. rst-class:: classref-property-setget
  57. - void **set_bounds** **(** :ref:`AABB<class_AABB>` value **)**
  58. - :ref:`AABB<class_AABB>` **get_bounds** **(** **)**
  59. .. container:: contribute
  60. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  61. .. rst-class:: classref-item-separator
  62. ----
  63. .. _class_BakedLightmapData_property_cell_space_transform:
  64. .. rst-class:: classref-property
  65. :ref:`Transform<class_Transform>` **cell_space_transform** = ``Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )``
  66. .. rst-class:: classref-property-setget
  67. - void **set_cell_space_transform** **(** :ref:`Transform<class_Transform>` value **)**
  68. - :ref:`Transform<class_Transform>` **get_cell_space_transform** **(** **)**
  69. .. container:: contribute
  70. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  71. .. rst-class:: classref-item-separator
  72. ----
  73. .. _class_BakedLightmapData_property_cell_subdiv:
  74. .. rst-class:: classref-property
  75. :ref:`int<class_int>` **cell_subdiv** = ``1``
  76. .. rst-class:: classref-property-setget
  77. - void **set_cell_subdiv** **(** :ref:`int<class_int>` value **)**
  78. - :ref:`int<class_int>` **get_cell_subdiv** **(** **)**
  79. .. container:: contribute
  80. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  81. .. rst-class:: classref-item-separator
  82. ----
  83. .. _class_BakedLightmapData_property_energy:
  84. .. rst-class:: classref-property
  85. :ref:`float<class_float>` **energy** = ``1.0``
  86. .. rst-class:: classref-property-setget
  87. - void **set_energy** **(** :ref:`float<class_float>` value **)**
  88. - :ref:`float<class_float>` **get_energy** **(** **)**
  89. Global energy multiplier for baked and dynamic capture objects. This can be changed at run-time without having to bake lightmaps again.
  90. To adjust only the energy of indirect lighting (without affecting direct lighting or emissive materials), adjust :ref:`BakedLightmap.bounce_indirect_energy<class_BakedLightmap_property_bounce_indirect_energy>` and bake lightmaps again.
  91. .. rst-class:: classref-item-separator
  92. ----
  93. .. _class_BakedLightmapData_property_interior:
  94. .. rst-class:: classref-property
  95. :ref:`bool<class_bool>` **interior** = ``false``
  96. .. rst-class:: classref-property-setget
  97. - void **set_interior** **(** :ref:`bool<class_bool>` value **)**
  98. - :ref:`bool<class_bool>` **is_interior** **(** **)**
  99. Controls whether dynamic capture objects receive environment lighting or not.
  100. .. rst-class:: classref-item-separator
  101. ----
  102. .. _class_BakedLightmapData_property_octree:
  103. .. rst-class:: classref-property
  104. :ref:`PoolByteArray<class_PoolByteArray>` **octree** = ``PoolByteArray( )``
  105. .. rst-class:: classref-property-setget
  106. - void **set_octree** **(** :ref:`PoolByteArray<class_PoolByteArray>` value **)**
  107. - :ref:`PoolByteArray<class_PoolByteArray>` **get_octree** **(** **)**
  108. .. container:: contribute
  109. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  110. .. rst-class:: classref-section-separator
  111. ----
  112. .. rst-class:: classref-descriptions-group
  113. Method Descriptions
  114. -------------------
  115. .. _class_BakedLightmapData_method_add_user:
  116. .. rst-class:: classref-method
  117. void **add_user** **(** :ref:`NodePath<class_NodePath>` path, :ref:`Resource<class_Resource>` lightmap, :ref:`int<class_int>` lightmap_slice, :ref:`Rect2<class_Rect2>` lightmap_uv_rect, :ref:`int<class_int>` instance **)**
  118. .. container:: contribute
  119. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  120. .. rst-class:: classref-item-separator
  121. ----
  122. .. _class_BakedLightmapData_method_clear_data:
  123. .. rst-class:: classref-method
  124. void **clear_data** **(** **)**
  125. .. container:: contribute
  126. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  127. .. rst-class:: classref-item-separator
  128. ----
  129. .. _class_BakedLightmapData_method_clear_users:
  130. .. rst-class:: classref-method
  131. void **clear_users** **(** **)**
  132. .. container:: contribute
  133. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  134. .. rst-class:: classref-item-separator
  135. ----
  136. .. _class_BakedLightmapData_method_get_user_count:
  137. .. rst-class:: classref-method
  138. :ref:`int<class_int>` **get_user_count** **(** **)** |const|
  139. .. container:: contribute
  140. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  141. .. rst-class:: classref-item-separator
  142. ----
  143. .. _class_BakedLightmapData_method_get_user_lightmap:
  144. .. rst-class:: classref-method
  145. :ref:`Resource<class_Resource>` **get_user_lightmap** **(** :ref:`int<class_int>` user_idx **)** |const|
  146. .. container:: contribute
  147. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  148. .. rst-class:: classref-item-separator
  149. ----
  150. .. _class_BakedLightmapData_method_get_user_path:
  151. .. rst-class:: classref-method
  152. :ref:`NodePath<class_NodePath>` **get_user_path** **(** :ref:`int<class_int>` user_idx **)** |const|
  153. .. container:: contribute
  154. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  155. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  156. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  157. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  158. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`