FNetViewer

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

Windows
MacOS
Linux

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

Name Description

Public variable

UNetConnection ...

 

Connection

Public variable

AActor *

 

InViewer

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

Public variable

FVector

 

ViewDir

Direction the viewer is looking

Public variable

FVector

 

ViewLocation

Where the viewer is looking from

Public variable

AActor *

 

ViewTarget

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

Constructors

Name Description

Public function

FNetViewer()

Public function

FNetViewer

(
    UNetConnection* InConnection,
    float DeltaSeconds
)

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