Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UWorld
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddToWorld
(
ULevel* Level, |
Engine/World.h | ||
void AddToWorld
(
ULevel* Level, |
Associates the passed in level with the world. | Engine/World.h |
AddToWorld(ULevel , const FTransform &, bool, FNetLevelVisibilityTransactionId, ULevelStreaming )
| Name | AddToWorld |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
void AddToWorld
(
ULevel * Level,
const FTransform & LevelTransform,
bool bConsiderTimeLimit,
FNetLevelVisibilityTransactionId TransactionId,
ULevelStreaming * OwningLevelStreaming
)
AddToWorld(ULevel , const FTransform &, bool, const TOptional< const UE::FTimeout > &, FNetLevelVisibilityTransactionId, ULevelStreaming )
Description
Associates the passed in level with the world. If using a time limit the work to make the level visible can be spread across several frames so this function has to be called multiple time for the level to be visible/ associated with the world and no longer be in a limbo state.
| Name | AddToWorld |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
| Source | /Engine/Source/Runtime/Engine/Private/World.cpp |
void AddToWorld
(
ULevel * Level,
const FTransform & LevelTransform,
bool bConsiderTimeLimit,
const TOptional < const UE::FTimeout > & ExternalTimeout,
FNetLevelVisibilityTransactionId TransactionId,
ULevelStreaming * OwningLevelStreaming
)
Parameters
| Name | Remarks |
|---|---|
| Level | Level object we should add |
| LevelTransform | Transformation to apply to each actor in the level |
| bConsiderTimeLimit | optional bool indicating if time-slicing will be used to limit the amount of work done, defaults to false |
| ExternalTimeout | optional timeout that will override the default behavior if bConsiderTimeLimit is true |
| TransactionId | optional parameter that carries the current transaction id associated with calls updating LevelVisibility used when communicating level visibility with server |
| OwningLevelStreaming | optional parameter, the ULevelStreaming object driving this level's presence in the world |