Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

LightmapGIData

Inherits: Resource < RefCounted < Object

Contains baked lightmap and dynamic object probe data for LightmapGI.

Description

LightmapGIData contains baked lightmap and dynamic object probe data for LightmapGI. It is replaced every time lightmaps are baked in LightmapGI.

Properties

TextureLayered

light_texture

TextureLayered[]

lightmap_textures

[]

Methods

void

add_user ( NodePath path, Rect2 uv_scale, int slice_index, int sub_instance )

void

clear_users ( )

int

get_user_count ( ) const

NodePath

get_user_path ( int user_idx ) const

bool

is_using_spherical_harmonics ( ) const

void

set_uses_spherical_harmonics ( bool uses_spherical_harmonics )


Property Descriptions

TextureLayered light_texture

The lightmap atlas texture generated by the lightmapper.

Deprecated. The lightmap atlas can now have multiple textures. See lightmap_textures.


TextureLayered[]