From UE4: Community Wiki
Jump to: navigation, search
This article is a preliminary version, it is subject to change.

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[edit]

The calling sequence the engine uses to determine the camera position for each viewport are[3]:

  1. UGameViewportClient::Draw
  2. ULocalPlayer::CalcSceneView
  3. ULocalPlayer::GetViewPoint
  4. APlayerController::GetPlayerViewPoint to determine position APlayerCameraManager::GetFOVAngle to determine the field of view.
  5. APlayerController::GetViewTarget
  6. APlayerCameraManager::GetViewTarget to determine the camera position and orientation.

Further Reading[edit]