HammeriteMapLightingSnapshot

Core: the map. Inherits RefCounted

The lighting on the map at one moment, to be put back exactly by restore_lighting(). It holds the faces themselves, so it is for the session it was taken in and is never saved.

Properties

TypeNameDefault
Dictionary[int, HammeriteBakedLight]baked_lights
Dictionary[StringName, HammeriteBakedLight]baked_lights_by_group
Dictionarybaked_surfaces
Dictionarydark_surfaces
Dictionary[HammeriteFace, Array]faces
Dictionary[int, Array]light_lightmaps
Dictionary[int, HammeriteBakedLightmap]mesh_entity_lightmaps
Dictionary[int, PackedVector2Array]mesh_uv2s
HammeriteLightProbeSetprobe_set
Dictionary[HammeriteLightProbe, Dictionary]probes
HammeriteMapBakeWarning[]warnings

Property descriptions

baked_lights

var baked_lights: Dictionary[int, HammeriteBakedLight]

A copy of the map's HammeriteMap.baked_lights; the lights themselves are shared, not copied.

baked_lights_by_group

var baked_lights_by_group: Dictionary[StringName, HammeriteBakedLight]

A copy of the map's HammeriteMap.baked_lights_by_group.

baked_surfaces

var baked_surfaces: Dictionary

A copy of the map's HammeriteMap.baked_surfaces.

dark_surfaces

var dark_surfaces: Dictionary

A copy of the map's HammeriteMap.dark_surfaces.

faces

var faces: Dictionary[HammeriteFace, Array]

Face -> [lightmap, uv2, lightmap scale], for every authored face and every boundary wall. The UV2 array is the face's own: the bake hands a face a new one rather than writing into it.

light_lightmaps

var light_lightmaps: Dictionary[int, Array]

A deep copy of the map's HammeriteMap.light_lightmaps.

mesh_entity_lightmaps

var mesh_entity_lightmaps: Dictionary[int, HammeriteBakedLightmap]

A copy of the map's HammeriteMap.mesh_entity_lightmaps.

mesh_uv2s

var mesh_uv2s: Dictionary[int, PackedVector2Array]

A copy of the map's HammeriteMap.mesh_uv2s.

probe_set

var probe_set: HammeriteLightProbeSet

The map's HammeriteMap.probe_set itself, not a copy; probes holds what it carried.

probes

var probes: Dictionary[HammeriteLightProbe, Dictionary]

Probe -> its stored properties. A bake that keeps the probes it has relights them in place.

warnings

var warnings: HammeriteMapBakeWarning[]

The bake warnings on the map when it was taken (HammeriteMap.get_bake_warnings()).

Hammerite 2.0 · built from 6d57ab2d, 2026-10-17