Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/WorldSettings.h |
| Include | #include "GameFramework/WorldSettings.h" |
Syntax
struct FNetViewer
Remarks
Stores information on a viewer that actors need to be checked against for relevancy
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UNetConnection > | Connection | ||
| TObjectPtr< class AActor > | InViewer | The "controlling net object" associated with this view (typically player controller) | |
| FVector | ViewDir | Direction the viewer is looking | |
| FVector | ViewLocation | Where the viewer is looking from | |
| TObjectPtr< class AActor > | ViewTarget | The actor that is being directly viewed, usually a pawn. Could also be the net actor of consequence |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNetViewer () |
|||
FNetViewer
(
AController* InController |
For use by replication graph, connection likely null | ||
FNetViewer
(
UNetConnection* InConnection, |