Skip to main content
The xrlive_UIpanelComponent exposes three camera properties that are applied automatically when the visual starts. You can also call Apply Camera Settings at any point at runtime to push updated values. Settings are applied to both the FollowCamera (UCameraComponent) and the RenderGame1 scene capture (USceneCaptureComponent2D) on the spawned xRLive_Camera actor, so the rendered output always matches the editor preview.

Properties

Set these in the component Details panel before Play, or write to them from Blueprint at runtime before calling Apply Camera Settings.
PropertyDefaultDescription
Field of View92°Horizontal FOV applied to both the camera and the scene capture component. Clamped 5–170°.
Sensor Width (mm)24.576 mmPhysical sensor width used by the depth-of-field model (Lens → Depth of Field → Sensor Width).
Focal Distance0.0Distance in Unreal units at which the scene is in sharp focus (Lens → Depth of Field → Focal Distance). Set to 0 to disable DOF blur.
Sensor Width and Focal Distance set the bOverride flags automatically, so they take effect even if the camera’s post-process volume priority is lower than a scene volume.

Blueprint node

Apply Camera Settings
CategoryCamera
TypeBlueprintCallable
Pushes the current values of Field of View, Sensor Width, and Focal Distance from the component to the spawned camera. Call this after changing any of the three properties at runtime.
Event BeginPlay (or any trigger)

Set Field Of View (on xrlive_UIpanelComponent) → 75.0

Apply Camera Settings (on xrlive_UIpanelComponent)

Which components are affected

Component on xRLive_CameraProperty set
FollowCamera (UCameraComponent)FieldOfView, PostProcessSettings.DepthOfFieldSensorWidth, PostProcessSettings.DepthOfFieldFocalDistance
RenderGame1 (USceneCaptureComponent2D)FOVAngle, PostProcessSettings.DepthOfFieldSensorWidth, PostProcessSettings.DepthOfFieldFocalDistance
Depth-of-field blur only renders when a DOF method is enabled on the camera or a post-process volume. Setting Focal Distance alone does not produce blur if the DOF method is Off. Enable Cinematic DOF or Gaussian DOF in your camera’s post-process settings or a scene Post Process Volume.