Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USpotLightComponent
- ULightComponent::ComputeLightBrightness()
- UPointLightComponent::ComputeLightBrightness()
- USpotLightComponent::ComputeLightBrightness()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SpotLightComponent.h |
| Include | #include "Components/SpotLightComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SpotLightComponent.cpp |
virtual float ComputeLightBrightness() const
Remarks
Compute current light brightness based on whether there is a valid IES profile texture attached, and whether IES brightness is enabled