UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FNetViewer Struct Reference

#include <WorldSettings.h>

Public Member Functions

 FNetViewer ()
 
ENGINE_API FNetViewer (UNetConnection *InConnection, float DeltaSeconds)
 
ENGINE_API FNetViewer (AController *InController)
 

Public Attributes

TObjectPtr< UNetConnectionConnection
 
TObjectPtr< class AActorInViewer
 
TObjectPtr< class AActorViewTarget
 
FVector ViewLocation
 
FVector ViewDir
 

Detailed Description

stores information on a viewer that actors need to be checked against for relevancy

Constructor & Destructor Documentation

◆ FNetViewer() [1/3]

FNetViewer::FNetViewer ( )
inline

◆ FNetViewer() [2/3]

FNetViewer::FNetViewer ( UNetConnection InConnection,
float  DeltaSeconds 
)

◆ FNetViewer() [3/3]

FNetViewer::FNetViewer ( AController InController)

For use by replication graph, connection likely null

Member Data Documentation

◆ Connection

TObjectPtr<UNetConnection> FNetViewer::Connection

◆ InViewer

TObjectPtr<class AActor> FNetViewer::InViewer

The "controlling net object" associated with this view (typically player controller)

◆ ViewDir

FVector FNetViewer::ViewDir

Direction the viewer is looking

◆ ViewLocation

FVector FNetViewer::ViewLocation

Where the viewer is looking from

◆ ViewTarget

TObjectPtr<class AActor> FNetViewer::ViewTarget

The actor that is being directly viewed, usually a pawn. Could also be the net actor of consequence


The documentation for this struct was generated from the following files: