Version: 2019.3
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

Lightmapping

class in UnityEditor.Experimental

/

Implemented in:UnityEditor

Suggest a change

Success!

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.

Close

Submission failed

For 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.

Close

Cancel

Description

Experimental lightmapping features.

See Also: Lightmapping.

Static Properties

extractAmbientOcclusionWrites out the filtered Ambient Occlusion texture to disk when the Lighting Data Asset is created and will be located next to the other lightmaps. This only works in On Demand mode and if Ambient Occlusion is turned on. Please note that the values from the direct and indirect exposure sliders are not applied. Currently not supported by the Progressive GPU lightmapper.
probesIgnoreDirectEnvironmentIf enabled ignores the direct contribution from the environment lighting in baked probes.

Static Methods

BakeStarts a synchronous bake job with influencers.
BakeAsyncStarts an asynchronous bake job with influencers.
GetCustomBakeResultsRetrieve the custom bake results.
SetCustomBakeInputsSet the custom bake inputs.