FNetViewer

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

Windows
MacOS
Linux

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
)

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/WorldSettings.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback