Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FStaticLightingTextureMapping_In-
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 → FStaticLightingTextureMapping_InstancedStaticMesh::Apply
| Name | Apply |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/InstancedStaticMesh.h |
| Include Path | #include "Engine/InstancedStaticMesh.h" |
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. |