Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UNetConnection
Description
Returns the view target for this connection. Controlled by the player controller when one is assigned. The view target is the owning actor when no PC's are assigned or the PC's view target is invalid
| Name | GetConnectionViewTarget |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/NetConnection.h |
| Include Path | #include "Engine/NetConnection.h" |
| Source | /Engine/Source/Runtime/Engine/Private/NetConnection.cpp |
AActor * GetConnectionViewTarget() const