Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FStaticMeshStaticLightingTexture-
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.
Virtual Inheritance
- FStaticLightingTextureMapping::Apply → FStaticMeshStaticLightingTextureMapping::Apply
Derived Overrides
| Name | Apply |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/StaticMeshLight.h |
| Include Path | #include "StaticMeshLight.h" |
| Source | /Engine/Source/Runtime/Engine/Private/StaticMeshLight.cpp |
virtual void Apply
(
FQuantizedLightmapData * QuantizedData,
const TMap < ULightComponent *, FShadowMapData2D * > & ShadowMapData,
const FStaticLightingBuildContext * LightingContext
)
Parameters
| Name | Remarks |
|---|---|
| LightMapData | The light-map data which has been computed for the mapping. |