Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/ULightComponentBase
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/LightComponentBase.h |
| Include | #include "Components/LightComponentBase.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/LightComponent.cpp |
bool HasStaticLighting() const
Remarks
Return True if a light's parameters as well as its position is static during gameplay, and can thus use static lighting. A light with HasStaticLighting() == true will always have HasStaticShadowing() == true as well.