Documentation

Unity Engine

Unity Engine

GetSharedLightProbesForScene(Scene)

Gets the shared LightProbes object for a specific scene.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static LightProbes GetSharedLightProbesForScene(Scene scene)

Parameters

scene

The scene to get the shared light probe data for.

Returns

Type

Description

LightProbesThe shared light probe data for the scene.

Remarks

Unless you need to modify an asset, it's not recommended to modify a
LightProbes
object returned by this method. You may affect all currently loaded versions of the scene, or change the light probe data stored in Lighting Data assets.