Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


extractAmbientOcclusion

Writes 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.
Read time 1 minuteLast updated 12 days ago

Definition

Warning
Deprecated. UnityEditor.Experimental.Lightmapping.extractAmbientOcclusion is obsolete, use LightingSettings.extractAO instead.
public static bool extractAmbientOcclusion { get; set; }