123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272 |
- :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<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
- .. container:: contribute
- There is currently no description for this class. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
- .. rst-class:: classref-reftable-group
- Properties
- ----------
- .. table::
- :widths: auto
- +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+
- | :ref:`AABB<class_AABB>` | :ref:`bounds<class_BakedLightmapData_property_bounds>` | ``AABB( 0, 0, 0, 0, 0, 0 )`` |
- +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+
- | :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 )`` |
- +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`cell_subdiv<class_BakedLightmapData_property_cell_subdiv>` | ``1`` |
- +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`energy<class_BakedLightmapData_property_energy>` | ``1.0`` |
- +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`interior<class_BakedLightmapData_property_interior>` | ``false`` |
- +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+
- | :ref:`PoolByteArray<class_PoolByteArray>` | :ref:`octree<class_BakedLightmapData_property_octree>` | ``PoolByteArray( )`` |
- +-------------------------------------------+------------------------------------------------------------------------------------+-----------------------------------------------------+
- .. rst-class:: classref-reftable-group
- Methods
- -------
- .. table::
- :widths: auto
- +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | 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 **)** |
- +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`clear_data<class_BakedLightmapData_method_clear_data>` **(** **)** |
- +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`clear_users<class_BakedLightmapData_method_clear_users>` **(** **)** |
- +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`get_user_count<class_BakedLightmapData_method_get_user_count>` **(** **)** |const| |
- +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Resource<class_Resource>` | :ref:`get_user_lightmap<class_BakedLightmapData_method_get_user_lightmap>` **(** :ref:`int<class_int>` user_idx **)** |const| |
- +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`NodePath<class_NodePath>` | :ref:`get_user_path<class_BakedLightmapData_method_get_user_path>` **(** :ref:`int<class_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<class_AABB>` **bounds** = ``AABB( 0, 0, 0, 0, 0, 0 )``
- .. rst-class:: classref-property-setget
- - void **set_bounds** **(** :ref:`AABB<class_AABB>` value **)**
- - :ref:`AABB<class_AABB>` **get_bounds** **(** **)**
- .. container:: contribute
- There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
- .. rst-class:: classref-item-separator
- ----
- .. _class_BakedLightmapData_property_cell_space_transform:
- .. rst-class:: classref-property
- :ref:`Transform<class_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<class_Transform>` value **)**
- - :ref:`Transform<class_Transform>` **get_cell_space_transform** **(** **)**
- .. container:: contribute
- There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
- .. rst-class:: classref-item-separator
- ----
- .. _class_BakedLightmapData_property_cell_subdiv:
- .. rst-class:: classref-property
- :ref:`int<class_int>` **cell_subdiv** = ``1``
- .. rst-class:: classref-property-setget
- - void **set_cell_subdiv** **(** :ref:`int<class_int>` value **)**
- - :ref:`int<class_int>` **get_cell_subdiv** **(** **)**
- .. container:: contribute
- There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
- .. rst-class:: classref-item-separator
- ----
- .. _class_BakedLightmapData_property_energy:
- .. rst-class:: classref-property
- :ref:`float<class_float>` **energy** = ``1.0``
- .. rst-class:: classref-property-setget
- - void **set_energy** **(** :ref:`float<class_float>` value **)**
- - :ref:`float<class_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<class_BakedLightmap_property_bounce_indirect_energy>` and bake lightmaps again.
- .. rst-class:: classref-item-separator
- ----
- .. _class_BakedLightmapData_property_interior:
- .. rst-class:: classref-property
- :ref:`bool<class_bool>` **interior** = ``false``
- .. rst-class:: classref-property-setget
- - void **set_interior** **(** :ref:`bool<class_bool>` value **)**
- - :ref:`bool<class_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<class_PoolByteArray>` **octree** = ``PoolByteArray( )``
- .. rst-class:: classref-property-setget
- - void **set_octree** **(** :ref:`PoolByteArray<class_PoolByteArray>` value **)**
- - :ref:`PoolByteArray<class_PoolByteArray>` **get_octree** **(** **)**
- .. container:: contribute
- There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
- .. 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<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 **)**
- .. container:: contribute
- There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
- .. 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 <doc_updating_the_class_reference>`!
- .. 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 <doc_updating_the_class_reference>`!
- .. rst-class:: classref-item-separator
- ----
- .. _class_BakedLightmapData_method_get_user_count:
- .. rst-class:: classref-method
- :ref:`int<class_int>` **get_user_count** **(** **)** |const|
- .. container:: contribute
- There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
- .. rst-class:: classref-item-separator
- ----
- .. _class_BakedLightmapData_method_get_user_lightmap:
- .. rst-class:: classref-method
- :ref:`Resource<class_Resource>` **get_user_lightmap** **(** :ref:`int<class_int>` user_idx **)** |const|
- .. container:: contribute
- There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
- .. rst-class:: classref-item-separator
- ----
- .. _class_BakedLightmapData_method_get_user_path:
- .. rst-class:: classref-method
- :ref:`NodePath<class_NodePath>` **get_user_path** **(** :ref:`int<class_int>` user_idx **)** |const|
- .. container:: contribute
- There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
- .. |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.)`
|