Lightmapping.GetLightingDataAssetForScene

Declaration

public static LightingDataAsset GetLightingDataAssetForScene(SceneManagement.Scene scene);

Parameters

scene The scene to get the LightingDataAsset for.

Returns

LightingDataAsset The LightingDataAsset associated with the scene.

Description

Gets the LightingDataAsset associated with a specific scene. This method will return null if the scene has no LightingDataAsset, or the scene is invalid.


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