Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCameraModifier
Description
Called to give modifiers a chance to adjust view rotation updates before they are applied.
Default just returns ViewRotation unchanged
| Name | ProcessViewRotation |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Camera/CameraModifier.h |
| Include Path | #include "Camera/CameraModifier.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Camera/CameraModifier.cpp |
virtual bool ProcessViewRotation
(
class AActor * ViewTarget,
float DeltaTime,
FRotator & OutViewRotation,
FRotator & OutDeltaRot
)
Return true to prevent subsequent (lower priority) modifiers to further adjust rotation, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| 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. |