AActor::IsWithinNetRelevancyDistance

Syntax

bool IsWithinNetRelevancyDistance
(
    const FVector & SrcLocation
) const

Remarks

Determines whether or not the distance between the given SrcLocation and the Actor's location is within the net relevancy distance. Actors outside relevancy distance may not be replicated.

Returns

True if the actor is within net relevancy distance, false otherwise.

Parameters

Parameter

Description

SrcLocation

Location to test against.

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h

Source

Runtime/Engine/Private/ActorReplication.cpp