This version of Unity is unsupported.

Lightmapping.GetLightingSettingsForScene

Declaration

public static LightingSettings GetLightingSettingsForScene(SceneManagement.Scene scene);

Parameters

scene The Scene object.

Returns

LightingSettings The LightingSettings object if Scene.isLoaded is true. Otherwise returns null.

Description

Gets the LightingSettings object of a Scene object.