FSceneInterface::GetRelevantLights

Retrieves the lights interacting with the passed in primitive and adds them to the out array.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SceneInterface.h

Include

#include "SceneInterface.h"

Syntax

void GetRelevantLights
(
    UPrimitiveComponent * Primitive,
    TArray< const ULightComponent * > * RelevantLights
) const

Remarks

Retrieves the lights interacting with the passed in primitive and adds them to the out array.

Parameters

Parameter

Description

Primitive

Primitive to retrieve interacting lights for

RelevantLights

[out] Array of lights interacting with primitive

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss