Version: 2022.3

Lightmapping.GetLightingSettingsForScene

切换到手册
public static LightingSettings GetLightingSettingsForScene (SceneManagement.Scene scene);

参数

scene The Scene object.

返回

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

描述

Gets the LightingSettings object of a Scene object.