Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Camera > API/Runtime/Engine/Camera/UCameraModifier
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 |
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 Return true to prevent subsequent (lower priority) modifiers to further adjust rotation, false otherwise.
Parameters
| Name | 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. |