Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FStaticLightingTextureMapping
Description
Called when the static lighting has been computed to apply it to the mapping's owner. This function is responsible for deleting ShadowMapData and QuantizedData.
Derived Overrides
- FBSPSurfaceStaticLighting::Apply
- FStaticLightingGlobalVolumeMapping::Apply
- FStaticLightingTextureMapping_InstancedStaticMesh::Apply
- FStaticMeshStaticLightingTextureMapping::Apply
| Name | Apply |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/StaticLighting.h |
| Include Path | #include "StaticLighting.h" |
void Apply
(
struct FQuantizedLightmapData * QuantizedData,
const TMap < ULightComponent *, class FShadowMapData2D * > & ShadowMapData,
const FStaticLightingBuildContext * LightingContext
)
Parameters
| Name | Remarks |
|---|---|
| LightMapData | The light-map data which has been computed for the mapping. |