Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USceneCaptureComponent2D
Description
Render the scene to the texture target immediately. This should not be used if bCaptureEveryFrame is enabled, or the scene capture will render redundantly. If r.SceneCapture.CullByDetailMode is set, nothing will happen if DetailMode is higher than r.DetailMode.
| Name | CaptureScene |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/SceneCaptureComponent2D.h |
| Include Path | #include "Components/SceneCaptureComponent2D.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SceneCaptureComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Rendering|SceneCapture")
void CaptureScene()