UMapBuildDataRegistry::FindOrAllocateLightBuildData

Allocates a new [FLightComponentMapBuildData](API\Runtime\Engine\Engine\FLightComponentMapBuildData) from the registry.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/MapBuildDataRegistry.h

Include

#include "Engine/MapBuildDataRegistry.h"

Source

/Engine/Source/Runtime/Engine/Private/MapBuildData.cpp

Syntax

FLightComponentMapBuildData & FindOrAllocateLightBuildData
(
    FGuid LightId,
    bool bMarkDirty
)

Remarks

Allocates a new FLightComponentMapBuildData from the registry. Warning: Further allocations will invalidate the returned reference.