:github_url: hide .. Generated automatically by doc/tools/make_rst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the LightmapGIData.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_LightmapGIData: LightmapGIData ============== **Inherits:** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` Properties ---------- +---------------------------------------------+-------------------------------------------------------------------+ | :ref:`TextureLayered` | :ref:`light_texture` | +---------------------------------------------+-------------------------------------------------------------------+ Methods ------- +---------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_user` **(** :ref:`NodePath` path, :ref:`Rect2` uv_scale, :ref:`int` slice_index, :ref:`int` sub_instance **)** | +---------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`clear_users` **(** **)** | +---------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_user_count` **(** **)** |const| | +---------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`NodePath` | :ref:`get_user_path` **(** :ref:`int` user_idx **)** |const| | +---------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_using_spherical_harmonics` **(** **)** |const| | +---------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_uses_spherical_harmonics` **(** :ref:`bool` uses_spherical_harmonics **)** | +---------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Property Descriptions --------------------- .. _class_LightmapGIData_property_light_texture: - :ref:`TextureLayered` **light_texture** +----------+--------------------------+ | *Setter* | set_light_texture(value) | +----------+--------------------------+ | *Getter* | get_light_texture() | +----------+--------------------------+ Method Descriptions ------------------- .. _class_LightmapGIData_method_add_user: - void **add_user** **(** :ref:`NodePath` path, :ref:`Rect2` uv_scale, :ref:`int` slice_index, :ref:`int` sub_instance **)** ---- .. _class_LightmapGIData_method_clear_users: - void **clear_users** **(** **)** ---- .. _class_LightmapGIData_method_get_user_count: - :ref:`int` **get_user_count** **(** **)** |const| ---- .. _class_LightmapGIData_method_get_user_path: - :ref:`NodePath` **get_user_path** **(** :ref:`int` user_idx **)** |const| ---- .. _class_LightmapGIData_method_is_using_spherical_harmonics: - :ref:`bool` **is_using_spherical_harmonics** **(** **)** |const| ---- .. _class_LightmapGIData_method_set_uses_spherical_harmonics: - void **set_uses_spherical_harmonics** **(** :ref:`bool` uses_spherical_harmonics **)** .. |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.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`