Contains a group of levels of a particular ELevelCollectionType within a UWorld and the context required to properly tick/update those levels. 更多...
#include <World.h>
Public 成员函数 | |
| void | AddLevel (ULevel *const Level) |
| Adds a level to this collection and caches the collection pointer on the level for fast access. | |
| UDemoNetDriver * | GetDemoNetDriver () const |
| Gets the demo net driver for this collection. | |
| AGameStateBase * | GetGameState () const |
| Gets the game state for this collection. | |
| const TSet< ULevel * > & | GetLevels () const |
| Returns the set of levels in this collection. | |
| UNetDriver * | GetNetDriver () const |
| Gets the net driver for this collection. | |
| ULevel * | GetPersistentLevel () const |
| Returns this collection's PersistentLevel. | |
| ELevelCollectionType | GetType () const |
| Gets the type of this collection. | |
| bool | IsVisible () const |
| Gets whether this collection is currently visible. | |
| void | RemoveLevel (ULevel *const Level) |
| Removes a level from this collection and clears the cached collection pointer on the level. | |
| void | SetDemoNetDriver (UDemoNetDriver *const InDemoNetDriver) |
| Sets the demo net driver for this collection. | |
| void | SetGameState (AGameStateBase *const InGameState) |
| Sets the game state for this collection. | |
| void | SetIsVisible (const bool bInIsVisible) |
| Sets whether this collection is currently visible. | |
| void | SetNetDriver (UNetDriver *const InNetDriver) |
| Sets the net driver for this collection. | |
| void | SetPersistentLevel (ULevel *const Level) |
| Sets this collection's PersistentLevel and adds it to the Levels set. | |
| void | SetType (const ELevelCollectionType InType) |
| Sets the type of this collection. | |
| ~FLevelCollection () | |
| The destructor will clear the cached collection pointers in this collection's levels. | |
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.