Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCameraModifier
Description
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.
| Name | BlueprintModifyCamera |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Camera/CameraModifier.h |
| Include Path | #include "Camera/CameraModifier.h" |
UFUNCTION (BlueprintImplementableEvent, BlueprintCosmetic)
void BlueprintModifyCamera
(
float DeltaTime,
FVector ViewLocation,
FRotator ViewRotation,
float FOV,
FVector & NewViewLocation,
FRotator & NewViewRotation,
float & NewFOV
)
Parameters
| Name | Remarks |
|---|---|
| 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. |