Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkyLightComponent
Description
Recaptures the scene for the skylight. This is useful for making sure the sky light is up to date after changing something in the world that it would capture. Warning: this is very costly and will definitely cause a hitch.
| Name | RecaptureSky |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/SkyLightComponent.h |
| Include Path | #include "Components/SkyLightComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SkyLightComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Rendering|Components|SkyLight")
void RecaptureSky()