UCameraModifier::BlueprintModifyCamera

Called per tick that the modifier is active to allow Blueprinted modifiers to modify the camera's transform.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Camera/CameraModifier.h

Include

#include "Camera/CameraModifier.h"

Syntax

void BlueprintModifyCamera
(
    float DeltaTime,
    FVector ViewLocation,
    FRotator ViewRotation,
    float FOV,
    FVector & NewViewLocation,
    FRotator & NewViewRotation,
    float & NewFOV
)

Remarks

Called per tick that the modifier is active to allow Blueprinted modifiers to modify the camera's transform. Scaling by Alpha happens after this in code, so no need to deal with that in the blueprint.

Parameters

Parameter

Description

DeltaTime

Change in time since last update

ViewLocation

The current camera location.

ViewRotation

The current camera rotation.

FOV

The current camera fov.

NewViewLocation

(out) The modified camera location.

NewViewRotation

(out) The modified camera rotation.

NewFOV

(out) The modified camera FOV.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss