Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

LightProbes.GetSharedLightProbesForScene

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static LightProbes GetSharedLightProbesForScene(SceneManagement.Scene scene);

Parameters

scene The scene to get the shared light probe data for.

Returns

LightProbes The shared light probe data for the scene.

Description

Gets the shared LightProbes object for a specific scene.

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. Use LightProbes.GetInstantiatedLightProbesForScene instead.

Additional resources: LightProbes.GetInstantiatedLightProbesForScene.