Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/AActor
Description
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.
| Name | IsWithinNetRelevancyDistance |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include Path | #include "GameFramework/Actor.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ActorReplication.cpp |
bool IsWithinNetRelevancyDistance
(
const FVector & SrcLocation
) const
True if the actor is within net relevancy distance, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| SrcLocation | Location to test against. |