Skip to content

Sein Fog Of War Subsystem

Class · USeinFogOfWarSubsystem : UWorldSubsystem

#include "SeinFogOfWarSubsystem.h"

World subsystem that creates the fog-of-war instance chosen in the Fog Of War settings and registers it with the level bake. Get Fog Of War returns the instance, or null when fog is off.

The active fog-of-war instance. Null when FogOfWarClass is None (fog off, WYSIWYG); otherwise valid after Initialize. All callers null-guard.

USeinFogOfWar* GetFogOfWar() const;

Convenience accessor for BP + external callers that only have a UObject-with-world. Returns null if the world has no fog subsystem.

static USeinFogOfWar* GetFogOfWarForWorld(const UObject* WorldContextObject);
C++ members (3)
  • bool IsInitialStaticEnvironmentPrepared() const; True once initial Level Data adoption resolved to Adopted or the valid NotApplicable/no-bake fallback. False while pending or after rejection.
  • const FSeinStaticEnvironmentAdoptionResult& GetInitialStaticEnvironmentAdoptionResult() const; Exact result of the latest initial/static-environment adoption attempt.
  • void ReleaseModuleOwnedStateForModuleUnload(); Pre-unload fail-stop. Severs delegates/systems, unregisters the level provider, and destroys the active implementation while its module code is still executable. Idempotent with ordinary world teardown.