Limen Framework 0.1 Help

ULimenCameraComponent

Overview

ULimenCameraComponent extends UCameraComponent to provide enhanced camera control, including tilt and zoom. It allows for customizable tilt functions (linear or ease-in), zoom ranges, and interpolation speeds. The component can be configured through the editor and interacted with via Blueprint calls.

Properties

Type

Name

Access

Description

ETiltFunction

TiltFunction

EditAnywhere, BlueprintReadOnly

Determines the tilt function used (Linear or EaseIn).

float

MaxCameraTilt

EditAnywhere, BlueprintReadOnly

Maximum tilt angle for the camera.

float

TiltStrength

EditAnywhere, BlueprintReadOnly

Strength of the tilt effect.

float

CameraTiltRecoverSpeed

EditAnywhere, BlueprintReadOnly

Speed at which the camera recovers from tilt input.

bool

bInvertTilt

EditAnywhere, BlueprintReadOnly

Inverts the tilt direction if true.

bool

bEnableTilt

EditAnywhere, BlueprintReadOnly

Enables or disables tilt functionality.

bool

bEnableZoom

EditAnywhere, BlueprintReadOnly

Enables or disables zoom functionality.

FFloatRange

CameraZoomRange

EditAnywhere, BlueprintReadOnly

Range of camera zoom values.

FFloatRange

FirstPersonZoomRange

EditAnywhere, BlueprintReadOnly

Range of first-person zoom values.

float

ZoomMultiplier

EditAnywhere, BlueprintReadOnly

Multiplier for zoom input.

float

CameraZoomInterpolationSpeed

EditAnywhere, BlueprintReadOnly

Speed at which camera FOV interpolates to target value.

float

FirstPersonZoomInterpolationSpeed

EditAnywhere, BlueprintReadOnly

Speed at which first-person FOV interpolates to target value.

Functions

Return Type

Signature

Description

void

BeginPlay()

Initializes the camera component and sets up initial values.

void

GetCameraView(float DeltaTime, FMinimalViewInfo& DesiredView)

Updates the camera view based on tilt and zoom settings.

void

AddCameraZoom(float Amount)

Adjusts the target camera FOV by a specified amount.

void

SetCameraZoom(float Amount)

Sets the target camera FOV to a specific value.

void

AddFirstPersonZoom(float Amount)

Adjusts the target first-person FOV by a specified amount.

void

SetFirstPersonZoom(float Amount)

Sets the target first-person FOV to a specific value.

FFloatRange

GetCameraZoomRange() const

Returns the current camera zoom range.

float

GetCurrentCameraZoom() const

Calculates and returns the current camera zoom level based on the target FOV.

float

GetCurrentFirstPersonZoom() const

Calculates and returns the current first-person zoom level based on the target FOV.

float

CameraZoomToFOV(float InZoom)

Converts a zoom value to an equivalent FOV value for the camera.

float

FirstPersonZoomToFOV(float InZoom)

Converts a zoom value to an equivalent FOV value for first-person view.

float

CameraFOVToZoom(float InFOV)

Converts an FOV value to an equivalent zoom value for the camera.

float

FirstPersonFOVToZoom(float InFOV)

Converts an FOV value to an equivalent zoom value for first-person view.

Usage & Implementation Notes

  • The component uses interpolation to smoothly transition between current and target FOV values.

  • Tilt functionality can be enabled or disabled, with customizable strength and recovery speed.

  • Zoom functionality is controlled by a multiplier and can be adjusted in real-time via Blueprint calls.

  • The component supports both camera and first-person view zoom adjustments.

22 May 2026