LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

LightmapEditorSettings.sampling

public static LightmapEditorSettings.Sampling sampling;

Description

Determines which sampling strategy to use for baking lightmaps with the Progressive Lightmapper.

This can be adjusted in order to produce fast draft bakes.