Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetLightingSettingsForScenes(Scene[], LightingSettings)

Applies the settings specified in the LightingSettings object to an array of Scene objects.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void SetLightingSettingsForScenes(Scene[] scenes, LightingSettings lightingSettings)

Parameters

scenes

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

lightingSettings

The LightingSettings object.

Remarks