LightmappingNamespace: UnityEditor
Description

Allows to control the lightmapping job.

Before starting the job the bake settings can be set via LightmapEditorSettings.

See Also: LightmapEditorSettings.
Static Variables
isRunning Returns true when the bake job is running, false otherwise (Read Only).
Static Functions
Bake Stars a synchronous bake job.
BakeAsync Starts an asynchronous bake job.
BakeLightProbesOnly Starts a synchronous bake job, but only bakes light probes.
BakeLightProbesOnlyAsync Starts an asynchronous bake job, but only bakes light probes.
BakeSelected Stars a synchronous bake job for the selected objects.
BakeSelectedAsync Starts an asynchronous bake job for the selected objects.
Cancel Cancels the currently running asynchronous bake job.
Clear Deletes all lightmap assets and makes all lights behave as if they weren't baked yet.
Tetrahedralize Calculates a Delaunay Tetrahedralization of the 'positions' point set - the same way the lightmapper.