Skip to main content

ULCKRecorderSubsystem

The recorder subsystem manages the complete recording lifecycle as a UTickableWorldSubsystem. It handles scene capture, encoder coordination, and audio mixing each tick.

Class Definition

Setup Methods

function
Initializes the recorder with parameters and optional capture component.
function
Sets or changes the scene capture component used for video source.

Recording Control

function
Begins recording. Returns false if already recording or encoder unavailable.
function
Stops recording and finalizes the video file.
function
Captures a single frame as a photo.

Async Methods

For non-blocking operations with callbacks:

State Queries

function
Returns true if currently recording.
function
Returns current recording duration in seconds.
function
Returns current microphone input level (0.0 - 1.0).

Microphone Control

function
Enables or disables microphone audio in recordings.
function
Returns whether microphone audio is enabled.

FLCKRecorderParams

Recording configuration structure.
Higher resolutions significantly impact performance, especially on mobile VR devices. Test thoroughly on target hardware.

Delegates

FOnLCKRecorderBoolResult

Result callback for async operations.

FOnLCKRecorderProgress

Progress callback for save operations.

Preview Mode

For live camera preview without recording:
Preview mode is useful for camera composition and settings adjustment before recording.