AActor::IsReplayRelevantFor

Override Hierarchy

Syntax

virtual bool IsReplayRelevantFor
(
    const AActor * RealViewer,
    const AActor * ViewTarget,
    const FVector & SrcLocation,
    const float CullDistanceSquared
) const

Remarks

Checks to see if this actor is relevant for a recorded replay

Returns

bool - true if this actor is replay relevant to the client associated with RealViewer

Parameters

Parameter

Description

RealViewer

is the "controlling net object" associated with the client for which network relevancy is being checked (typically player controller)

ViewTarget

is the Actor being used as the point of view for the RealViewer

SrcLocation

is the viewing location

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h

Source

Runtime/Engine/Private/ActorReplication.cpp