Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetRenderingLibrary
Description
Enables or disables the path tracer for the current Game Viewport. This command is equivalent to setting ShowFlag.PathTracing, but is accessible even from shipping builds.
| Name | EnablePathTracing |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetRenderingLibrary.h |
| Include Path | #include "Kismet/KismetRenderingLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/KismetRenderingLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Rendering", Meta=(Keywords="EnablePathTracing"))
static void EnablePathTracing
(
bool bEnablePathTracer
)