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

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

Recording Control

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

Async Methods

For non-blocking operations with callbacks:

State Queries

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

Microphone Control

SetMicrophoneEnabled
function
Enables or disables microphone audio in recordings.
IsMicrophoneEnabled
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.