UCameraModifier::ProcessViewRotation

Called to give modifiers a chance to adjust view rotation updates before they are applied.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Camera/CameraModifier.h"

Source

/Engine/Source/Runtime/Engine/Private/Camera/CameraModifier.cpp

Syntax

virtual bool ProcessViewRotation
(
    class AActor * ViewTarget,
    float DeltaTime,
    FRotator & OutViewRotation,
    FRotator & OutDeltaRot
)

Remarks

Called to give modifiers a chance to adjust view rotation updates before they are applied.

Default just returns ViewRotation unchanged

Returns

Return true to prevent subsequent (lower priority) modifiers to further adjust rotation, false otherwise.

Parameters

Parameter

Description

ViewTarget

Current view target.

DeltaTime

Frame time in seconds.

OutViewRotation

In/out. The view rotation to modify.

OutDeltaRot

In/out. How much the rotation changed this frame.

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