Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/Runtime/Engine/Kismet/UKismetRenderingLibrary
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetRenderingLibrary.h |
| Include | #include "Kismet/KismetRenderingLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/KismetRenderingLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Rendering")
static void ResizeRenderTarget2D
(
UTextureRenderTarget2D * TextureRenderTarget,
int32 Width,
int32 Height
)
Remarks
Changes the resolution of a render target. This is useful for when you need to resize the game viewport or change the in-game resolution during runtime and thus need to update the sizes of all the render targets in the game accordingly.