Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Camera
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Camera/PlayerCameraManager.h |
Include | #include "Camera/PlayerCameraManager.h" |
Syntax
struct FTViewTarget
Remarks
A ViewTarget is the primary actor the camera is associated with.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TObjectPtr< class APlayerState > | PlayerState | PlayerState (used to follow same player through pawn transitions, etc., when spectating) |
![]() |
FMinimalViewInfo | POV | Computed point of view |
![]() |
TObjectPtr< class AActor > | Target | Target Actor used to compute POV |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FTViewTarget () |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | CheckViewTarget
(
APlayerController* OwningController |
Make sure ViewTarget is valid |
![]() ![]() |
bool | Equal
(
const FTViewTarget& OtherTarget |
|
![]() ![]() |
APlayerState * | ||
![]() ![]() |
APawn * | ||
![]() |
void | SetNewTarget
(
AActor* NewTarget |