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

#include <StaticLighting.h>

+ Inheritance diagram for FStaticLightingGlobalVolumeMapping:

Public Member Functions

ENGINE_API FStaticLightingGlobalVolumeMapping (FStaticLightingMesh *InMesh, UObject *InOwner, int32 InSizeX, int32 InSizeY, int32 InLightmapTextureCoordinateIndex)
 
virtual void Apply (struct FQuantizedLightmapData *QuantizedData, const TMap< ULightComponent *, class FShadowMapData2D * > &ShadowMapData, const FStaticLightingBuildContext *LightingContext) override
 
virtual bool IsValidMapping () const
 
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 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

Represents an object which will use the global volumetric lightmap. Hack: currently represented as a texture mapping for Lightmass GI solver surface caching

Constructor & Destructor Documentation

◆ FStaticLightingGlobalVolumeMapping()

FStaticLightingGlobalVolumeMapping::FStaticLightingGlobalVolumeMapping ( FStaticLightingMesh InMesh,
UObject InOwner,
int32  InSizeX,
int32  InSizeY,
int32  InLightmapTextureCoordinateIndex 
)

Initialization constructor.

Member Function Documentation

◆ Apply()

virtual void FStaticLightingGlobalVolumeMapping::Apply ( struct FQuantizedLightmapData QuantizedData,
const TMap< ULightComponent *, class FShadowMapData2D * > &  ShadowMapData,
const FStaticLightingBuildContext LightingContext 
)
inlineoverridevirtual

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.

◆ GetDescription()

virtual FString FStaticLightingGlobalVolumeMapping::GetDescription ( ) const
inlinevirtual

Reimplemented from FStaticLightingTextureMapping.

◆ IsValidMapping()

virtual bool FStaticLightingGlobalVolumeMapping::IsValidMapping ( ) const
inlinevirtual

Whether or not this mapping should be processed or imported

Reimplemented from FStaticLightingTextureMapping.


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