UNetDriver::SetWorld

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

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UNetDriver::SetWorld()

UDemoNetDriver::SetWorld()

References

Module

Engine

Header

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

Include

#include "Engine/NetDriver.h"

Source

/Engine/Source/Runtime/Engine/Private/NetDriver.cpp

Syntax

virtual 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