AActor::SetOwner

Set the owner of this Actor, used primarily for network replication.

Windows
MacOS
Linux

Override Hierarchy

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 void SetOwner
(
    AActor * NewOwner
)

Remarks

Set the owner of this Actor, used primarily for network replication.

Parameters

Parameter

Description

NewOwner

The Actor who takes over ownership of this Actor

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