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()

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

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h

Source

Runtime/Engine/Private/Actor.cpp

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback