Experimental: this API is experimental and might be changed or removed in the future.

Lightmapping

class in UnityEditor.Experimental

Switch to Manual

Description

Experimental lightmapping features.

See Also: Lightmapping.

Static Variables

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 Functions

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