set_scene_capture_2d_properties
Set a SceneCapture2D actor's capture source, projection, FOV, render target, and per-frame capture settings in the editor without capturing. Undoable with read-back verification.
Instructions
Sets the given CaptureSource, ProjectionType, FOVAngle, TextureTarget and bCaptureEveryFrame of the USceneCaptureComponent2D on a SceneCapture2D actor in the editor world, without capturing or saving; undoable. An invalid value fails the call, but fields applied before it stay set. Returns each field read back with a *_set flag.
Returns: { actor_name: string, actor_internal_name: string, capture_source_set: bool, capture_source: string, projection_type_set: bool, projection_type: string, fov_angle_set: bool, fov_angle: number, texture_target_set: bool, texture_target: string, has_render_target: bool, capture_every_frame_set: bool, capture_every_frame: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fov_angle | No | Field-of-view angle in degrees (FOVAngle field) | |
| actor_name | Yes | Label or internal name of the SceneCapture2D actor | |
| capture_source | No | ESceneCaptureSource (e.g. SceneColorHDR | FinalColorLDR | FinalColorHDR | SceneDepth); the SCS_ prefix is optional | |
| texture_target | No | Path to a UTextureRenderTarget2D to assign | |
| projection_type | No | Projection mode, "Perspective" or "Orthographic" (case-insensitive); any other value fails the call; omit to keep the current one | |
| capture_every_frame | No | Whether the component captures every frame (bCaptureEveryFrame) |