Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

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

Lightmapping.BakeSelected

public static bool BakeSelected();

Description

Starts a synchronous bake job for the selected objects.

Returns when the lightmapping has finished.