Navigation
API > API/Runtime > API/Runtime/Engine
A set of parameters specifying how static lighting is rebuilt.
| Name | FLightingBuildOptions |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/LightingBuildOptions.h |
| Include Path | #include "LightingBuildOptions.h" |
Syntax
class FLightingBuildOptions
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLightingBuildOptions() |
LightingBuildOptions.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| HalfResolutionLightmapQualityLevel | ELightingBuildQuality | The quality level to use for half-resolution lightmaps (not exposed) | LightingBuildOptions.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bApplyDeferedActorMappingPass | bool | Indicates to is the lightmaps finalizing pass (for WP maps) | LightingBuildOptions.h | |
| bDumpBinaryResults | bool | Whether to dump binary results or not | LightingBuildOptions.h | |
| bOnlyBuildCurrentLevel | bool | Whether to only build lighting for current level | LightingBuildOptions.h | |
| bOnlyBuildSelected | bool | Whether to only build lighting for selected actors/brushes/surfaces | LightingBuildOptions.h | |
| bOnlyBuildSelectedLevels | bool | Whether to only build lighting for levels selected in the Level Browser. | LightingBuildOptions.h | |
| bOnlyBuildVisibility | bool | Whether to only build visibility, and leave lighting untouched. | LightingBuildOptions.h | |
| bShowLightingBuildInfo | bool | Whether to display the lighting build info following a build. | LightingBuildOptions.h | |
| bUseErrorColoring | bool | Whether to color problem objects (wrapping uvs, etc.) | LightingBuildOptions.h | |
| bVolumetricLightmapFinalizerPass | bool | Indicates to is the volumetric lightmaps finalizing pass (for WP maps) | LightingBuildOptions.h | |
| MappingsDirectory | FString | The directory that'll be used to store the deferred mappings | LightingBuildOptions.h | |
| NumUnusedLocalCores | int32 | The number of cores to leave 'unused' | LightingBuildOptions.h | |
| QualityLevel | ELightingBuildQuality | The quality level to use for the lighting build. (0-3) | LightingBuildOptions.h | |
| SelectedLevels | TArray< ULevel * > | The set of levels selected in the Level Browser. | LightingBuildOptions.h | |
| ShouldBuildLighting | TFunction< void(const AActor *, bool &, bool &, bool &)> | The custom filter to invoke to know if we should build lighting for an Actor | LightingBuildOptions.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ShouldBuildLightingForLevel
(
ULevel* Level |
LightingBuildOptions.h |