Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FSceneInterface
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/SceneInterface.h |
| Include | #include "SceneInterface.h" |
void GetRelevantLights
&40;
UPrimitiveComponent &42; Primitive,
TArray< const ULightComponent &42; > &42; RelevantLights
&41; const
Remarks
Retrieves the lights interacting with the passed in primitive and adds them to the out array.
Parameters
| Name | Description |
|---|---|
| Primitive | Primitive to retrieve interacting lights for |
| RelevantLights | [out] Array of lights interacting with primitive |