Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/LightComponent.h |
Include |
#include "Components/LightComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/LightComponent.cpp |
bool AffectsPrimitive
(
const UPrimitiveComponent * Primitive
) const
Test whether this light affects the given primitive. This checks both the primitive and light settings for light relevance and also calls AffectsBounds.
True if the light affects the primitive.
Parameter |
Description |
---|---|
PrimitiveSceneInfo |
The primitive to test. |