Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/SceneInterface.h |
Include |
#include "SceneInterface.h" |
void GetRelevantLights
(
UPrimitiveComponent * Primitive,
TArray< const ULightComponent * > * RelevantLights
) const
Retrieves the lights interacting with the passed in primitive and adds them to the out array.
Parameter |
Description |
---|---|
Primitive |
Primitive to retrieve interacting lights for |
RelevantLights |
[out] Array of lights interacting with primitive |