LightProbes.GetSharedLightProbesForScene

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.


Did you find this page useful? Please give it a rating: