Version: 2020.3

Lightmapping.SetLightingSettingsForScenes

切换到手册
public static void SetLightingSettingsForScenes (Scene[] scenes, LightingSettings lightingSettings);

参数

scenes The array of Scene objects. If the Scene.isLoaded property is false on a Scene object, the method does not apply the settings to that object.
lightingSettings The LightingSettings object.

描述

Applies the settings specified in the LightingSettings object to an array of Scene objects.