Files
godot-docs/classes/class_bakedlightmapdata.rst

82 lines
3.9 KiB
ReStructuredText

.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the BakedLightmapData.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_BakedLightmapData:
BakedLightmapData
=================
**Inherits:** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
**Category:** Core
Brief Description
-----------------
Member Functions
----------------
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`add_user<class_BakedLightmapData_add_user>` **(** :ref:`NodePath<class_nodepath>` path, :ref:`Texture<class_texture>` lightmap, :ref:`int<class_int>` instance **)** |
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`clear_users<class_BakedLightmapData_clear_users>` **(** **)** |
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`get_user_count<class_BakedLightmapData_get_user_count>` **(** **)** const |
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Texture<class_texture>` | :ref:`get_user_lightmap<class_BakedLightmapData_get_user_lightmap>` **(** :ref:`int<class_int>` user_idx **)** const |
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`NodePath<class_nodepath>` | :ref:`get_user_path<class_BakedLightmapData_get_user_path>` **(** :ref:`int<class_int>` user_idx **)** const |
+----------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Member Variables
----------------
.. _class_BakedLightmapData_bounds:
- :ref:`AABB<class_aabb>` **bounds**
.. _class_BakedLightmapData_cell_space_transform:
- :ref:`Transform<class_transform>` **cell_space_transform**
.. _class_BakedLightmapData_cell_subdiv:
- :ref:`int<class_int>` **cell_subdiv**
.. _class_BakedLightmapData_energy:
- :ref:`float<class_float>` **energy**
.. _class_BakedLightmapData_octree:
- :ref:`PoolByteArray<class_poolbytearray>` **octree**
Member Function Description
---------------------------
.. _class_BakedLightmapData_add_user:
- void **add_user** **(** :ref:`NodePath<class_nodepath>` path, :ref:`Texture<class_texture>` lightmap, :ref:`int<class_int>` instance **)**
.. _class_BakedLightmapData_clear_users:
- void **clear_users** **(** **)**
.. _class_BakedLightmapData_get_user_count:
- :ref:`int<class_int>` **get_user_count** **(** **)** const
.. _class_BakedLightmapData_get_user_lightmap:
- :ref:`Texture<class_texture>` **get_user_lightmap** **(** :ref:`int<class_int>` user_idx **)** const
.. _class_BakedLightmapData_get_user_path:
- :ref:`NodePath<class_nodepath>` **get_user_path** **(** :ref:`int<class_int>` user_idx **)** const