![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "LightMap.h"#include "Components/PrimitiveComponent.h"#include "Engine/Level.h"#include "Misc/QueuedThreadPool.h"#include "ShadowMap.h"#include "Engine/ShadowMapTexture2D.h"#include "UnrealEngine.h"#include "Interfaces/ITargetPlatform.h"#include "RenderUtils.h"#include "StaticLighting.h"#include "Components/InstancedStaticMeshComponent.h"#include "Components/LightComponent.h"#include "UObject/RenderingObjectVersion.h"#include "UObject/UObjectIterator.h"#include "Misc/FeedbackContext.h"#include "GameFramework/WorldSettings.h"#include "Engine/MapBuildDataRegistry.h"#include "StaticLightingBuildContext.h"#include "VT/LightmapVirtualTexture.h"#include "VT/VirtualTexture.h"#include "EngineModule.h"#include "ProfilingDebugging/LoadTimeTracker.h"#include "TextureResource.h"#include "DataDrivenShaderPlatformInfo.h"#include "StaticMeshLight.h"#include "Engine/InstancedStaticMesh.h"#include "Templates/Greater.h"#include "TextureLayout.h"Classes | |
| struct | FLegacyLightMapTextureInfo |
Macros | |
| #define | VISUALIZE_PACKING 0 |
Functions | |
| DEFINE_LOG_CATEGORY_STATIC (LogLightMap, Log, All) | |
| ENGINE_API FColor | GTexelSelectionColor (255, 50, 0) |
| bool | IsTexelDebuggingEnabled () |
| FArchive & | operator<< (FArchive &Ar, FLightMap *&R) |
| FArchive & | operator<< (FArchive &Ar, FLightMapCoefficients &Coefs) |
| #define VISUALIZE_PACKING 0 |
| DEFINE_LOG_CATEGORY_STATIC | ( | LogLightMap | , |
| Log | , | ||
| All | |||
| ) |
| ENGINE_API FColor GTexelSelectionColor | ( | 255 | , |
| 50 | , | ||
| 0 | |||
| ) |
The color to set selected texels to
| bool IsTexelDebuggingEnabled | ( | ) |
Lightmap reference serializer Intended to be used by TRefCountPtr's serializer, not called directly
| FArchive & operator<< | ( | FArchive & | Ar, |
| FLightMapCoefficients & | Coefs | ||
| ) |
| ENGINE_API bool GAllowStreamingLightmaps = false |
Whether to allow lighting builds to generate streaming lightmaps.
| ENGINE_API bool GCompressLightmaps = true |
Whether to compress lightmaps. Reloaded from ini each lighting build.
| ELightingBuildQuality GLightingBuildQuality = Quality_Preview |
The quality level of the current lighting build
| ENGINE_API int32 GLightmapCounter = 0 |
Counts the number of lightmap textures generated each lighting build.
| FLightmassDebugOptions GLightmassDebugOptions |
| ENGINE_API float GMaxLightmapRadius = 5000.0f |
Largest boundingsphere radius to use when packing lightmaps into a texture atlas.
| float TextureMappingDownsampleFactor0 = 1.0f |
Lightmap resolution scaling factors for debugging. The defaults are to use the original resolution unchanged.
| float TextureMappingDownsampleFactor1 = 1.0f |
| float TextureMappingDownsampleFactor2 = 1.0f |
| int32 TextureMappingMinDownsampleSize0 = 16 |
| int32 TextureMappingMinDownsampleSize1 = 128 |
| int32 TextureMappingMinDownsampleSize2 = 256 |