This version of Unity is unsupported.

Lightmapping.SetLightingSettingsForScene

Declaration

public static void SetLightingSettingsForScene(SceneManagement.Scene scene, LightingSettings lightingSettings);

Parameters

scene The Scene object. If the Scene.isLoaded property is false, the method does not apply the settings.
lightingSettings The LightingSettings object.

Description

Applies the settings specified in the LightingSettings object to the Scene object.