![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <LightMap.h>
Inheritance diagram for FLightMap:Public Types | |
| enum | { LMT_None = 0 , LMT_1D = 1 , LMT_2D = 2 } |
Public Member Functions | |
| ENGINE_API | FLightMap () |
| virtual | ~FLightMap () |
| bool | ContainsLight (const FGuid &LightGuid) const |
| virtual void | AddReferencedObjects (FReferenceCollector &Collector) |
| virtual ENGINE_API void | Serialize (FArchive &Ar) |
| virtual FLightMapInteraction | GetInteraction (ERHIFeatureLevel::Type InFeatureLevel) const =0 |
| virtual FShadowMapInteraction | GetShadowInteraction (ERHIFeatureLevel::Type InFeatureLevel) const |
| virtual FLightMap2D * | GetLightMap2D () |
| virtual const FLightMap2D * | GetLightMap2D () const |
| void | AddRef () |
| void | Release () |
| bool | AllowsHighQualityLightmaps () const |
Public Attributes | |
| TArray< FGuid > | LightGuids |
Protected Member Functions | |
| virtual ENGINE_API void | Cleanup () |
Protected Attributes | |
| bool | bAllowHighQualityLightMaps |
The abstract base class of 1D and 2D light-maps.
| FLightMap::FLightMap | ( | ) |
Default constructor.
|
inlinevirtual |
Destructor.
|
inline |
|
inlinevirtual |
Reimplemented in FLightMap2D.
|
inline |
|
protectedvirtual |
Called when the light-map is no longer referenced. Should release the lightmap's resources.
Checks if a light is stored in this light-map.
| LightGuid | - The GUID of the light to check for. |
|
pure virtual |
Implemented in FLightMap2D, and FLegacyLightMap1D.
|
inlinevirtual |
Reimplemented in FLightMap2D.
|
inlinevirtual |
Reimplemented in FLightMap2D.
|
inlinevirtual |
Reimplemented in FLightMap2D.
|
inline |
Reimplemented in FLightMap2D, and FLegacyLightMap1D.
|
protected |
Indicates whether the lightmap is being used for directional or simple lighting.