FBSPSurfaceStaticLighting::Apply

Called when the static lighting has been computed to apply it to the mapping's owner.

Windows
MacOS
Linux

Override Hierarchy

FStaticLightingTextureMapping::Apply()

FBSPSurfaceStaticLighting::Apply()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ModelLight.h

Include

#include "ModelLight.h"

Source

/Engine/Source/Runtime/Engine/Private/ModelLight.cpp

Syntax

virtual void Apply
(
    FQuantizedLightmapData * QuantizedData,
    const TMap< ULightComponent *, FShadowMapData2D * > & ShadowMapData,
    ULevel * LightingScenario
)

Remarks

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.

Parameters

Parameter

Description

LightMapData

The light-map data which has been computed for the mapping.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss