Select your preferred scripting language. All code snippets will be displayed in this language.
Namespace: UnityEditor
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseAllows to control the lightmapping job.
Before starting the job the bake settings can be set via LightmapEditorSettings.
See Also: LightmapEditorSettings.isRunning | Returns true when the bake job is running, false otherwise (Read Only). |
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. |