Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Lightmapping.lightmapSnapshot

Switch to Manual
public static LightmapSnapshot lightmapSnapshot;

Description

The lightmap snapshot used by the active scene.

Please note that this currently does not affect the scene immediately, the lightmap data is only patched into the active scene when loading the scene.