Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzFramework::ILevelSystemLifecycle Class Referenceabstract

Public Member Functions

 AZ_TYPE_INFO (ILevelSystemLifecycle, "{BDF3616A-4725-4B5D-AB71-34DFCDF9C5B0}")
 
virtual const char * GetCurrentLevelName () const =0
 
virtual bool IsLevelLoaded () const =0
 

Member Function Documentation

◆ GetCurrentLevelName()

virtual const char * AzFramework::ILevelSystemLifecycle::GetCurrentLevelName ( ) const
pure virtual

Returns the name of the currently loaded level. Note: for spawnable level system, this is the cache folder path to the level asset. Example: levels/mylevel/mylevel.spawnable

Returns
Level name or empty string if no level loaded.

◆ IsLevelLoaded()

virtual bool AzFramework::ILevelSystemLifecycle::IsLevelLoaded ( ) const
pure virtual

Checks if a level is loaded

Returns
true if a level is loaded; otherwise false.

The documentation for this class was generated from the following file: