123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- :github_url: hide
- .. 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
- -----------------
- Properties
- ----------
- +-------------------------------------------+------------------------------------------------------------------------------------+
- | :ref:`AABB<class_AABB>` | :ref:`bounds<class_BakedLightmapData_property_bounds>` |
- +-------------------------------------------+------------------------------------------------------------------------------------+
- | :ref:`Transform<class_Transform>` | :ref:`cell_space_transform<class_BakedLightmapData_property_cell_space_transform>` |
- +-------------------------------------------+------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`cell_subdiv<class_BakedLightmapData_property_cell_subdiv>` |
- +-------------------------------------------+------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`energy<class_BakedLightmapData_property_energy>` |
- +-------------------------------------------+------------------------------------------------------------------------------------+
- | :ref:`PoolByteArray<class_PoolByteArray>` | :ref:`octree<class_BakedLightmapData_property_octree>` |
- +-------------------------------------------+------------------------------------------------------------------------------------+
- Methods
- -------
- +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | void | :ref:`add_user<class_BakedLightmapData_method_add_user>` **(** :ref:`NodePath<class_NodePath>` path, :ref:`Texture<class_Texture>` lightmap, :ref:`int<class_int>` instance **)** |
- +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | 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:`Texture<class_Texture>` | :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 |
- +---------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- Property Descriptions
- ---------------------
- .. _class_BakedLightmapData_property_bounds:
- - :ref:`AABB<class_AABB>` **bounds**
- +----------+-------------------+
- | *Setter* | set_bounds(value) |
- +----------+-------------------+
- | *Getter* | get_bounds() |
- +----------+-------------------+
- ----
- .. _class_BakedLightmapData_property_cell_space_transform:
- - :ref:`Transform<class_Transform>` **cell_space_transform**
- +----------+---------------------------------+
- | *Setter* | set_cell_space_transform(value) |
- +----------+---------------------------------+
- | *Getter* | get_cell_space_transform() |
- +----------+---------------------------------+
- ----
- .. _class_BakedLightmapData_property_cell_subdiv:
- - :ref:`int<class_int>` **cell_subdiv**
- +----------+------------------------+
- | *Setter* | set_cell_subdiv(value) |
- +----------+------------------------+
- | *Getter* | get_cell_subdiv() |
- +----------+------------------------+
- ----
- .. _class_BakedLightmapData_property_energy:
- - :ref:`float<class_float>` **energy**
- +----------+-------------------+
- | *Setter* | set_energy(value) |
- +----------+-------------------+
- | *Getter* | get_energy() |
- +----------+-------------------+
- ----
- .. _class_BakedLightmapData_property_octree:
- - :ref:`PoolByteArray<class_PoolByteArray>` **octree**
- +----------+-------------------+
- | *Setter* | set_octree(value) |
- +----------+-------------------+
- | *Getter* | get_octree() |
- +----------+-------------------+
- Method Descriptions
- -------------------
- .. _class_BakedLightmapData_method_add_user:
- - void **add_user** **(** :ref:`NodePath<class_NodePath>` path, :ref:`Texture<class_Texture>` lightmap, :ref:`int<class_int>` instance **)**
- ----
- .. _class_BakedLightmapData_method_clear_users:
- - void **clear_users** **(** **)**
- ----
- .. _class_BakedLightmapData_method_get_user_count:
- - :ref:`int<class_int>` **get_user_count** **(** **)** const
- ----
- .. _class_BakedLightmapData_method_get_user_lightmap:
- - :ref:`Texture<class_Texture>` **get_user_lightmap** **(** :ref:`int<class_int>` user_idx **)** const
- ----
- .. _class_BakedLightmapData_method_get_user_path:
- - :ref:`NodePath<class_NodePath>` **get_user_path** **(** :ref:`int<class_int>` user_idx **)** const
|