Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/ULightComponent
Syntax
UPROPERTY (EditAnywhere, BlueprintReadOnly, Category=Light, Meta=(DisplayName="Allow MegaLights"),
AdvancedDisplay)
uint32 bAllowMegaLights: 1
Remarks
Whether to allow this light to use MegaLights, if it is enabled in the project settings or Post Process Volume. When disabled, the renderer will no longer use stochastic sampling to solve this light's lighting, and will fall back to other shadowing methods, adding significant GPU cost.