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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback