AMatineeActor::GetNetPriority

Function used to prioritize actors when deciding which to replicate

Windows
MacOS
Linux

Override Hierarchy

AActor::GetNetPriority()

AMatineeActor::GetNetPriority()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Matinee/MatineeActor.h

Include

#include "Matinee/MatineeActor.h"

Source

/Engine/Source/Runtime/Engine/Private/Replication.cpp

Syntax

virtual float GetNetPriority
(
    const FVector & ViewPos,
    const FVector & ViewDir,
    AActor * Viewer,
    AActor * ViewTarget,
    UActorChannel * InChannel,
    float Time,
    bool bLowBandwidth
)

Remarks

Function used to prioritize actors when deciding which to replicate

Returns

Priority of this actor for replication, higher is more important

Parameters

Parameter

Description

ViewPos

Position of the viewer

ViewDir

Vector direction of viewer

Viewer

"net object" owned by the client for whom net priority is being determined (typically player controller)

ViewTarget

The actor that is currently being viewed/controlled by Viewer, usually a pawn

InChannel

Channel on which this actor is being replicated.

Time

Time since actor was last replicated

bLowBandwidth

True if low bandwidth of viewer

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