Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Subsystems/WorldSubsystem.h |
Include |
#include "Subsystems/WorldSubsystem.h" |
class UWorldSubsystem : public USubsystem
UWorldSubsystem Base class for auto instanced and initialized systems that share the lifetime of a UWorld
Name | Description | |
---|---|---|
|
UWorldSubsystem() |
Name | Description | ||
---|---|---|---|
|
DoesSupportWorldType ( |
||
|
UWorld * |
GetWorld() |
|
|
UWorld & |
GetWorldRef() |
Returns a reference to the UWorld this subsystem is contained within. |
|
OnWorldBeginPlay ( |
Called when world is ready to start gameplay before the game mode transitions to the correct state and call BeginPlay on all actors |
|
|
OnWorldComponentsUpdated ( |
Called after world components (e.g. line batcher and all level components) have been updated |
|
|
PostInitialize() |
Called once all UWorldSubsystems have been initialized |
|
|
UpdateStreamingState() |
Updates sub-system required streaming levels (called by world's UpdateStreamingState function) |
Name | Description | ||
---|---|---|---|
|
ShouldCreateSubsystem ( |
Override to control if the Subsystem should be created at all. |