载入中...
搜索中...
未找到
PcgLoadingScreen.h
浏览该文件的文档.
41 [[nodiscard]] Result<int> addMissingScene(const std::string& terrainName, const std::string& impostorName);
67 [[nodiscard]] Result<void> addReference(int sceneIndex, const std::string& objectName, bool impostor);
Move-only, checked operation results for the common layer.
Caller-owned loading-screen state driven by Pcg terrain load-progress events.
Definition PcgLoadingScreen.h:28
float getProgress() const noexcept
Return current progress without clamping Pcg's event value.
Definition PcgLoadingScreen.h:60
const std::string & getTimeoutMessage() const noexcept
Return the most recently published timeout warning.
Definition PcgLoadingScreen.h:64
bool getTextVisible() const noexcept
Return whether the loading text is enabled.
Definition PcgLoadingScreen.h:56
float getBackgroundAlpha() const noexcept
Return current background alpha.
Definition PcgLoadingScreen.h:62
bool getCanvasVisible() const noexcept
Return whether the loading canvas is enabled.
Definition PcgLoadingScreen.h:52
bool getProgressVisible() const noexcept
Return whether the progress bar is active.
Definition PcgLoadingScreen.h:54
Definition Component.cpp:5
void exposePcgLoadingScreenBindings(ssq::Table &table)
Register Pcg loading-screen bindings.
Definition PcgLoadingScreen.cpp:116
WidgetDesc progress(float fraction, std::string id, std::string overlay)
Progress bar; fraction is clamped to [0,1].
Definition Widget.cpp:395
enum EVENGINE_API_FOUNDATION Table
OT_TABLE (editable via Runtime table APIs / ReflectedPropertyModel).
Definition Runtime.h:121
EVEngine ECS 集成层:底层实现使用 sunxfancy/ECS.hpp https://github.com/sunxfancy/ECS.hpp
Definition ECS.h:14
One missing Pcg terrain scene and the objects retaining its regular or impostor representation.
Definition PcgLoadingScreen.h:15
std::vector< std::string > impostorReferences
Definition PcgLoadingScreen.h:19
std::vector< std::string > regularReferences
Definition PcgLoadingScreen.h:18
std::string impostorName
Definition PcgLoadingScreen.h:17