AActor::IsRelevancyOwnerFor

Check if this actor is the owner when doing relevancy checks for actors marked bOnlyRelevantToOwner

Windows
MacOS
Linux

Override Hierarchy

AActor::IsRelevancyOwnerFor()

AOnlineBeacon::IsRelevancyOwnerFor()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h

Include

#include "GameFramework/Actor.h"

Source

/Engine/Source/Runtime/Engine/Private/Actor.cpp

Syntax

virtual bool IsRelevancyOwnerFor
(
    const AActor * ReplicatedActor,
    const AActor * ActorOwner,
    const AActor * ConnectionActor
) const

Remarks

Check if this actor is the owner when doing relevancy checks for actors marked bOnlyRelevantToOwner

Returns

bool - true if this actor should be considered the owner

Parameters

Parameter

Description

ReplicatedActor

the actor we're doing a relevancy test on

ActorOwner

the owner of ReplicatedActor

ConnectionActor

the controller of the connection that we're doing relevancy checks for

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