GetSharedLightProbesForScene(Scene)
Gets the shared LightProbes object for a specific scene.
읽는 시간 1분최근 업데이트: 한 달 전
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.