Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/CameraController.h |
Include |
#include "CameraController.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/CameraController.cpp |
virtual void UpdateSimulation
(
const FCameraControllerUserImpulseData & UserImpulseData,
const float DeltaTime,
const bool bAllowRecoilIfNoImpulse,
const float MovementSpeedScale,
FVector & InOutCameraPosition,
FVector & InOutCameraEuler,
float & InOutCameraFOV
)
Updates the position and orientation of the camera as well as other state (like velocity.) Should be called every frame.
Parameter |
Description |
---|---|
UserImpulseData |
Input data from the user this frame |
DeltaTime |
Time interval since last update |
bAllowRecoilIfNoImpulse |
True if we should recoil FOV if needed |
MovementSpeedScale |
Scales the speed of movement |
InOutCameraPosition |
[in, out] Camera position |
InOutCameraEuler |
[in, out] Camera orientation |
InOutCameraFOV |
[in, out] Camera field of view |