GetSharedLightProbesForScene(Scene)
Gets the shared LightProbes object for a specific scene.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static LightProbes GetSharedLightProbesForScene(Scene scene)
Parameters
The scene to get the shared light probe data for.
Returns
Type | Description |
|---|---|
| LightProbes | The shared light probe data for the scene. |
Remarks
Unless you need to modify an asset, it's not recommended to modify a 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.
LightProbesUse LightProbes.GetInstantiatedLightProbesForScene instead.
Additional Resources: LightProbes.GetInstantiatedLightProbesForScene.