Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

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

Light.alreadyLightmapped

Switch to Manual
public bool alreadyLightmapped;

Description

Has the light already been lightmapped.

When manually assembling a lightmapped scene set this property appropriately, so that the light doesn't affect lightmapped objects twice, but at the same time affects dynamic objects. See Also: Light component.