Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

Lightmapping.BakeSelected

Switch to Manual
public static function BakeSelected(): bool;

Description

Starts a synchronous bake job for the selected objects.

Returns when the lightmapping has finished.