Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkyAtmosphereComponent
Description
This function can be used for instance in order to evaluate a directional atmospheric light outer space illuminance for a desired illuminance on ground given a direction. This is given for the position at the top of the virtual planet. Plus the output outer space illuminance into the light intensity.
| Name | GetAtmosphericLightToMatchIlluminanceOnGround |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/SkyAtmosphereComponent.h |
| Include Path | #include "Components/SkyAtmosphereComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SkyAtmosphereComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Utilities",
Meta=(DisplayName="Get Atmospheric Light To Match Illuminance On Ground"))
float GetAtmosphericLightToMatchIlluminanceOnGround
(
FVector LightDirection,
float IlluminanceOnGround
)