Camera
The camera is used to render a scene from a specific viewpoint, and has parameters including position, orientation, field of view, and projection mode[1][2] (orthographic or perspective). Engine De...
Updated about 5 years ago
The camera is used to render a scene from a specific viewpoint, and has parameters including position, orientation, field of view, and projection mode[1][2] (orthographic or perspective).
Engine Details
The calling sequence the engine uses to determine the camera position for each viewport are[3]:
-
UGameViewportClient::Draw
-
ULocalPlayer::CalcSceneView
-
[https://api.unrealengine.com/INT/API/Runtime/Engine/Engine/ULocalPlayer/GetViewPoint/index.html ULocalPlayer::GetViewPoint]
-
[https://api.unrealengine.com/INT/API/Runtime/Engine/GameFramework/APlayerController/GetPlayerViewPoint/index.html APlayerController::GetPlayerViewPoint]
to determine position
APlayerCameraManager::GetFOVAngle
to determine the field of view.
-
APlayerController::GetViewTarget
-
APlayerCameraManager::GetViewTarget
to determine the camera position and orientation.
Further Reading
Documentation
- Using Cameras | Unreal Engine Documentation
- Adding Camera Shake | Live Training | Unreal Engine
- Camera Animation
API
- Camera Component
- Player Camera Manager
- Configured via APlayerController::PlayerCameraManagerClass
- Camera Modifier
- Post Process Component
- Post Process Volumes
- Post Process Settings