:github_url: hide .. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/3.6/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/3.6/doc/classes/BakedLightmapData.xml. .. _class_BakedLightmapData: BakedLightmapData ================= **Inherits:** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`AABB` | :ref:`bounds` | ``AABB( 0, 0, 0, 0, 0, 0 )`` | +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`Transform` | :ref:`cell_space_transform` | ``Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )`` | +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`int` | :ref:`cell_subdiv` | ``1`` | +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`float` | :ref:`energy` | ``1.0`` | +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`bool` | :ref:`interior` | ``false`` | +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+ | :ref:`PoolByteArray` | :ref:`octree` | ``PoolByteArray( )`` | +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_user` **(** :ref:`NodePath` path, :ref:`Resource` lightmap, :ref:`int` lightmap_slice, :ref:`Rect2` lightmap_uv_rect, :ref:`int` instance **)** | +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`clear_data` **(** **)** | +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`clear_users` **(** **)** | +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_user_count` **(** **)** |const| | +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Resource` | :ref:`get_user_lightmap` **(** :ref:`int` user_idx **)** |const| | +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`NodePath` | :ref:`get_user_path` **(** :ref:`int` user_idx **)** |const| | +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_BakedLightmapData_property_bounds: .. rst-class:: classref-property :ref:`AABB` **bounds** = ``AABB( 0, 0, 0, 0, 0, 0 )`` .. rst-class:: classref-property-setget - void **set_bounds** **(** :ref:`AABB` value **)** - :ref:`AABB` **get_bounds** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_BakedLightmapData_property_cell_space_transform: .. rst-class:: classref-property :ref:`Transform` **cell_space_transform** = ``Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )`` .. rst-class:: classref-property-setget - void **set_cell_space_transform** **(** :ref:`Transform` value **)** - :ref:`Transform` **get_cell_space_transform** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_BakedLightmapData_property_cell_subdiv: .. rst-class:: classref-property :ref:`int` **cell_subdiv** = ``1`` .. rst-class:: classref-property-setget - void **set_cell_subdiv** **(** :ref:`int` value **)** - :ref:`int` **get_cell_subdiv** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_BakedLightmapData_property_energy: .. rst-class:: classref-property :ref:`float` **energy** = ``1.0`` .. rst-class:: classref-property-setget - void **set_energy** **(** :ref:`float` value **)** - :ref:`float` **get_energy** **(** **)** Global energy multiplier for baked and dynamic capture objects. This can be changed at run-time without having to bake lightmaps again. To adjust only the energy of indirect lighting (without affecting direct lighting or emissive materials), adjust :ref:`BakedLightmap.bounce_indirect_energy` and bake lightmaps again. .. rst-class:: classref-item-separator ---- .. _class_BakedLightmapData_property_interior: .. rst-class:: classref-property :ref:`bool` **interior** = ``false`` .. rst-class:: classref-property-setget - void **set_interior** **(** :ref:`bool` value **)** - :ref:`bool` **is_interior** **(** **)** Controls whether dynamic capture objects receive environment lighting or not. .. rst-class:: classref-item-separator ---- .. _class_BakedLightmapData_property_octree: .. rst-class:: classref-property :ref:`PoolByteArray` **octree** = ``PoolByteArray( )`` .. rst-class:: classref-property-setget - void **set_octree** **(** :ref:`PoolByteArray` value **)** - :ref:`PoolByteArray` **get_octree** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_BakedLightmapData_method_add_user: .. rst-class:: classref-method void **add_user** **(** :ref:`NodePath` path, :ref:`Resource` lightmap, :ref:`int` lightmap_slice, :ref:`Rect2` lightmap_uv_rect, :ref:`int` instance **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_BakedLightmapData_method_clear_data: .. rst-class:: classref-method void **clear_data** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_BakedLightmapData_method_clear_users: .. rst-class:: classref-method void **clear_users** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_BakedLightmapData_method_get_user_count: .. rst-class:: classref-method :ref:`int` **get_user_count** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_BakedLightmapData_method_get_user_lightmap: .. rst-class:: classref-method :ref:`Resource` **get_user_lightmap** **(** :ref:`int` user_idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_BakedLightmapData_method_get_user_path: .. rst-class:: classref-method :ref:`NodePath` **get_user_path** **(** :ref:`int` user_idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`