class in UnityEditor
/
Implemented in: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.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseAllows to control the lightmapping job.
Before starting the job the bake settings can be set via LightmapEditorSettings.
See Also: LightmapEditorSettings.
bakedGI | Is baked GI enabled? |
bounceBoost | Boost the albedo. |
buildProgress | Returns the current lightmapping build progress or 0 if Lightmapping.isRunning is false. |
giWorkflowMode | The lightmap baking workflow mode used. Iterative mode is default, but you can switch to on demand mode which bakes only when the user presses the bake button. |
indirectOutputScale | Scale for indirect lighting. |
isRunning | Returns true when the bake job is running, false otherwise (Read Only). |
lightingDataAsset | The lighting data asset used by the active Scene. |
realtimeGI | Is realtime GI enabled? |
Bake | Starts a synchronous bake job. |
BakeAsync | Starts an asynchronous bake job. |
BakeMultipleScenes | Bakes an array of Scenes. |
BakeReflectionProbe | Starts a synchronous bake job for the probe. |
Cancel | Cancels the currently running asynchronous bake job. |
Clear | Deletes all runtime data for the currently loaded Scenes. |
ClearDiskCache | Clears the cache used by lightmaps, reflection probes and default reflection. |
ClearLightingDataAsset | For the currently loaded Scenes, this method deletes the Lighting Data Asset and any linked lightmaps and Reflection Probe assets. |
ForceStop | Force the Progressive Path Tracer to stop baking and use the computed results as they are. |
GetTerrainGIChunks | Get how many chunks the terrain is divided into for GI baking. |
Tetrahedralize | Calculates tetrahderons from positions using Delaunay Tetrahedralization. |
bakeCompleted | Event which is called when bake job is completed. Only called in Lightmapping.GIWorkflowMode.OnDemand mode. |
bakeStarted | Event which is called when a bake is started. Only called in Lightmapping.GIWorkflowMode.OnDemand mode. |
lightingDataUpdated | Event which is called when any lighting data is updated as part of the GI backing process. |
started | Delegate which is called when bake job is started. |
OnCompletedFunction | Delegate used by Lightmapping.completed callback. |
OnStartedFunction | Delegate used by Lightmapping.started callback. |