FLightmassDebugOptions

Debug options for Lightmass

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h

Include

#include "Engine/EngineTypes.h"

Syntax

struct FLightmassDebugOptions

Remarks

Debug options for Lightmass

Variables

Name Description

Public variable

uint32 : 1

 

bColorBordersGreen

If true, a green border will be placed around the edges of mappings

Public variable

uint32 : 1

 

bColorByExecutionTime

If true, Lightmass will overwrite lightmap data with a shade of red relating to how long it took to calculate the mapping (Red = Time / ExecutionTimeDivisor)

Public variable

uint32 : 1

 

bDebugMaterials

If true, Lightmass will write out BMPs for each generated material property sample to .

Public variable

uint32 : 1

 

bDebugMode

If false, UnrealLightmass.exe is launched automatically (default) If true, it must be launched manually (e.g. through a debugger) with the -debug command line parameter.

Public variable

uint32 : 1

 

bDebugPaddings

If true, will fill padding of mappings with a color rather than the sampled edges.

Public variable

uint32 : 1

 

bDumpBinaryFiles

If true, the generate coefficients will be dumped to binary files.

Public variable

uint32 : 1

 

bGatherBSPSurfacesAcrossComponents

If true, BSP surfaces split across model components are joined into 1 mapping

Public variable

uint32 : 1

 

bImmediateProcessMappings

If true, Lightmass will process appropriate mappings as they are imported.

Public variable

uint32 : 1

 

bOnlyCalcDebugTexelMappings

If true, only the mapping containing a debug texel will be calculated, all others will be set to white

Public variable

uint32 : 1

 

bPadMappings

If true, Lightmass will pad the calculated mappings to reduce/eliminate seams.

Public variable

uint32 : 1

 

bSortMappings

If true, Lightmass will sort mappings by texel cost.

Public variable

uint32 : 1

 

bStatsEnabled

If true, all participating Lightmass agents will report back detailed stats to the log.

Public variable

uint32 : 1

 

bUseImmediateImport

If true, Lightmass will import mappings immediately as they complete.

Public variable

uint32 : 1

 

bUseRandomColors

If true, color lightmaps a random color

Public variable

float

 

CoplanarTolerance

The tolerance level used when gathering BSP surfaces.

Public variable

float

 

ExecutionTimeDivisor

The amount of time that will be count as full red when bColorByExecutionTime is enabled

Constructors

Name Description

Public function

FLightmassDebugOptions()

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback