struct

SceneCaptureComponent

UE's SceneCaptureComponent2D: a camera that renders the world into a RenderTargetAsset instead of the screen — a security monitor, a portal, a rear-view mirror, a minimap. The entity's transform is the camera and looks down its own -Z, the axis CameraComponent looks down; the target names an .mrt asset whose image any material's Texture Sample can bind. Each capture is a full scene render through its own SceneRenderer view, so every-frame captures cost what they say; a one-shot capture (captureEveryFrame off) renders once when it first appears and again on RequestCapture.

Module
Game
Header
#include "Game/Components/SceneCaptureComponent.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Properties

TypeNameDescription
boolenabledDefault true.
std::stringrenderTargetPath
floatfieldOfViewDefault 90.0f.
floatnearClipDefault 0.1f.
floatfarClipDefault 1000.0f.
boolcaptureEveryFrameOff = capture once on the first frame the component is seen, then only when captureRequested is raised (a Visual Script graph or C++ calling for a fresh frame). On = a full render every frame. Default true.
boolcaptureRequestedRaised to force a capture next frame whatever captureEveryFrame says; the capture system clears it. Default false.
uint32_tviewIdThe renderer view this capture renders through (0 = none yet), sized to the target; recreated when the target's size changes. Default 0.
uint32_tviewWidthDefault 0.
uint32_tviewHeightDefault 0.
uint32_tframesCapturedDefault 0.
Generated from Game/Components/SceneCaptureComponent.h via game.json · Nov 5, 2026Version 1.0.0