APlayerCameraManager::GetViewTargetPawn

Returns the ViewTarget if it is an [APawn](API\Runtime\Engine\GameFramework\APawn), or nullptr otherwise

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Camera/PlayerCameraManager.h

Include

#include "Camera/PlayerCameraManager.h"

Source

/Engine/Source/Runtime/Engine/Private/PlayerCameraManager.cpp

Syntax

APawn * GetViewTargetPawn() const

Remarks

Returns the ViewTarget if it is an APawn, or nullptr otherwise

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss