![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <WorldSettings.h>
Public Member Functions | |
| FNetViewer () | |
| ENGINE_API | FNetViewer (UNetConnection *InConnection, float DeltaSeconds) |
| ENGINE_API | FNetViewer (AController *InController) |
Public Attributes | |
| TObjectPtr< UNetConnection > | Connection |
| TObjectPtr< class AActor > | InViewer |
| TObjectPtr< class AActor > | ViewTarget |
| FVector | ViewLocation |
| FVector | ViewDir |
stores information on a viewer that actors need to be checked against for relevancy
|
inline |
| FNetViewer::FNetViewer | ( | UNetConnection * | InConnection, |
| float | DeltaSeconds | ||
| ) |
| FNetViewer::FNetViewer | ( | AController * | InController | ) |
For use by replication graph, connection likely null
| TObjectPtr<UNetConnection> FNetViewer::Connection |
| TObjectPtr<class AActor> FNetViewer::InViewer |
The "controlling net object" associated with this view (typically player controller)
| FVector FNetViewer::ViewDir |
Direction the viewer is looking
| FVector FNetViewer::ViewLocation |
Where the viewer is looking from
| TObjectPtr<class AActor> FNetViewer::ViewTarget |
The actor that is being directly viewed, usually a pawn. Could also be the net actor of consequence