![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PlayerCameraManager.h>
Public Member Functions | |
| class APlayerState * | GetPlayerState () const |
| ENGINE_API void | SetNewTarget (AActor *NewTarget) |
| ENGINE_API class APawn * | GetTargetPawn () const |
| ENGINE_API bool | Equal (const FTViewTarget &OtherTarget) const |
| FTViewTarget () | |
| ENGINE_API void | CheckViewTarget (APlayerController *OwningController) |
Public Attributes | |
| TObjectPtr< class AActor > | Target |
| struct FMinimalViewInfo | POV |
Protected Attributes | |
| TObjectPtr< class APlayerState > | PlayerState |
A ViewTarget is the primary actor the camera is associated with.
|
inline |
| void FTViewTarget::CheckViewTarget | ( | APlayerController * | OwningController | ) |
Make sure ViewTarget is valid
| bool FTViewTarget::Equal | ( | const FTViewTarget & | OtherTarget | ) | const |
|
inline |
| APawn * FTViewTarget::GetTargetPawn | ( | ) | const |
|
protected |
PlayerState (used to follow same player through pawn transitions, etc., when spectating)
| struct FMinimalViewInfo FTViewTarget::POV |
Computed point of view
| TObjectPtr<class AActor> FTViewTarget::Target |
Target Actor used to compute POV