UNetDriver::SetWorld

Associate a world with this net driver. Disassociates any previous world first.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/NetDriver.h

Include

#include "Engine/NetDriver.h"

Source

/Engine/Source/Runtime/Engine/Private/NetworkDriver.cpp

Syntax

void SetWorld
(
    class UWorld * InWorld
)

Remarks

Associate a world with this net driver. Disassociates any previous world first.

Parameters

Parameter

Description

InWorld

the world to associate with this netdriver

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