Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetLightingSettingsForScene(Scene, LightingSettings)

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

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void SetLightingSettingsForScene(Scene scene, LightingSettings lightingSettings)

Parameters

scene

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

lightingSettings

The LightingSettings object.

Remarks