UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FLandscapeStaticLightingTextureMapping Class Reference

#include <LandscapeLight.h>

+ Inheritance diagram for FLandscapeStaticLightingTextureMapping:

Public Member Functions

 FLandscapeStaticLightingTextureMapping (ULandscapeComponent *InPrimitive, FStaticLightingMesh *InMesh, int32 InLightMapWidth, int32 InLightMapHeight, bool bPerformFullQualityRebuild)
 
virtual LANDSCAPE_API void Apply (FQuantizedLightmapData *QuantizedData, const TMap< ULightComponent *, FShadowMapData2D * > &ShadowMapData, const FStaticLightingBuildContext *LightingContext)
 
LANDSCAPE_API FLandscapeStaticLightingTextureMapping (const FArchive &Ar)
 
virtual FString GetDescription () const
 
- Public Member Functions inherited from FStaticLightingTextureMapping
ENGINE_API FStaticLightingTextureMapping (FStaticLightingMesh *InMesh, UObject *InOwner, int32 InSizeX, int32 InSizeY, int32 InLightmapTextureCoordinateIndex, bool bInBilinearFilter=true)
 
virtual FStaticLightingTextureMappingGetTextureMapping ()
 
virtual bool IsTextureMapping () const
 
virtual bool IsValidMapping () const
 
virtual int32 GetTexelCount () const
 
 FStaticLightingTextureMapping (const FArchive &Ar)
 
- Public Member Functions inherited from FStaticLightingMapping
 FStaticLightingMapping (FStaticLightingMesh *InMesh, UObject *InOwner)
 
virtual ~FStaticLightingMapping ()
 
virtual const FGuidGetLightingGuid () const
 
bool IsDeferred () const
 
 FStaticLightingMapping (const FArchive &)
 
- Public Member Functions inherited from FRefCountedObject
 FRefCountedObject ()
 
virtual ~FRefCountedObject ()
 
 FRefCountedObject (const FRefCountedObject &Rhs)=delete
 
FRefCountedObjectoperator= (const FRefCountedObject &Rhs)=delete
 
FReturnedRefCountValue AddRef () const
 
uint32 Release () const
 
uint32 GetRefCount () const
 

Additional Inherited Members

- Public Attributes inherited from FStaticLightingTextureMapping
int32 SizeX
 
int32 SizeY
 
int32 LightmapTextureCoordinateIndex
 
bool bBilinearFilter
 
- Public Attributes inherited from FStaticLightingMapping
class FStaticLightingMeshMesh
 
UObjectOwner
 
uint32 bProcessMapping: 1
 
uint32 bIsDeferred: 1
 

Detailed Description

A texture mapping for landscapes

Constructor & Destructor Documentation

◆ FLandscapeStaticLightingTextureMapping() [1/2]

FLandscapeStaticLightingTextureMapping::FLandscapeStaticLightingTextureMapping ( ULandscapeComponent *  InPrimitive,
FStaticLightingMesh InMesh,
int32  InLightMapWidth,
int32  InLightMapHeight,
bool  bPerformFullQualityRebuild 
)

Initialization constructor.

◆ FLandscapeStaticLightingTextureMapping() [2/2]

LANDSCAPE_API FLandscapeStaticLightingTextureMapping::FLandscapeStaticLightingTextureMapping ( const FArchive Ar)

Member Function Documentation

◆ Apply()

virtual LANDSCAPE_API void FLandscapeStaticLightingTextureMapping::Apply ( FQuantizedLightmapData QuantizedData,
const TMap< ULightComponent *, FShadowMapData2D * > &  ShadowMapData,
const FStaticLightingBuildContext LightingContext 
)
virtual

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
LightMapData- The light-map data which has been computed for the mapping.

Implements FStaticLightingTextureMapping.

Reimplemented in FLandscapeStaticLightingGlobalVolumeMapping.

◆ GetDescription()

virtual FString FLandscapeStaticLightingTextureMapping::GetDescription ( ) const
inlinevirtual

The documentation for this class was generated from the following file: