![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <World.h>
Public Member Functions | |
| UE_API | FLevelCollection () |
| FLevelCollection (const FLevelCollection &)=delete | |
| FLevelCollection & | operator= (const FLevelCollection &)=delete |
| UE_API | FLevelCollection (FLevelCollection &&Other) |
| UE_API FLevelCollection & | operator= (FLevelCollection &&Other) |
| UE_API | ~FLevelCollection () |
| ELevelCollectionType | GetType () const |
| void | SetType (const ELevelCollectionType InType) |
| AGameStateBase * | GetGameState () const |
| void | SetGameState (AGameStateBase *const InGameState) |
| UNetDriver * | GetNetDriver () const |
| void | SetNetDriver (UNetDriver *const InNetDriver) |
| UDemoNetDriver * | GetDemoNetDriver () const |
| void | SetDemoNetDriver (UDemoNetDriver *const InDemoNetDriver) |
| const TSet< TObjectPtr< ULevel > > & | GetLevels () const |
| UE_API void | AddLevel (ULevel *const Level) |
| UE_API void | RemoveLevel (ULevel *const Level) |
| UE_API void | SetPersistentLevel (ULevel *const Level) |
| ULevel * | GetPersistentLevel () const |
| bool | IsVisible () const |
| void | SetIsVisible (const bool bInIsVisible) |
Contains a group of levels of a particular ELevelCollectionType within a UWorld and the context required to properly tick/update those levels. This object is move-only.
| FLevelCollection::FLevelCollection | ( | ) |
|
delete |
| FLevelCollection::FLevelCollection | ( | FLevelCollection && | Other | ) |
| FLevelCollection::~FLevelCollection | ( | ) |
The destructor will clear the cached collection pointers in this collection's levels.
Adds a level to this collection and caches the collection pointer on the level for fast access.
|
inline |
Gets the demo net driver for this collection.
|
inline |
Gets the game state for this collection.
|
inline |
Returns the set of levels in this collection.
|
inline |
Gets the net driver for this collection.
|
inline |
Returns this collection's PersistentLevel.
|
inline |
Gets the type of this collection.
|
inline |
Gets whether this collection is currently visible.
|
delete |
| FLevelCollection & FLevelCollection::operator= | ( | FLevelCollection && | Other | ) |
Removes a level from this collection and clears the cached collection pointer on the level.
|
inline |
Sets the demo net driver for this collection.
|
inline |
Sets the game state for this collection.
Sets whether this collection is currently visible.
|
inline |
Sets the net driver for this collection.
Sets this collection's PersistentLevel and adds it to the Levels set.
|
inline |
Sets the type of this collection.