载入中...
搜索中...
未找到
SkyProfile.h
浏览该文件的文档.
1#pragma once
2#include <cstdint>
3#include <memory>
4#include <optional>
5#include <string>
6#include "common/Export.h"
7#include "common/Result.h"
8namespace eve {
9class Value;
10}
11namespace eve::graphics {
12struct SkyAtmosphereParameters;
13}
14namespace eve::daynight {
15struct SkyRuntimeSettings;
30public:
33 [[nodiscard]] static Result<SkyProfile> decode(const Value& document);
35 [[nodiscard]] const SkyRuntimeSettings& settings() const noexcept;
37 [[nodiscard]] const graphics::SkyAtmosphereParameters& atmosphere() const noexcept;
39 [[nodiscard]] std::optional<uint32_t> proceduralSeed() const noexcept;
42 [[nodiscard]] const std::string& wispsAsset() const noexcept;
43
44private:
45 struct Impl;
46 explicit SkyProfile(std::shared_ptr<const Impl> data);
47 std::shared_ptr<const Impl> data_;
48};
49} // namespace eve::daynight
#define EVENGINE_API_WORLD
Definition Export.h:109
Move-only, checked operation results for the common layer.
TerrainThermalSettings settings
Move-only operation result carrying either a value or Status.
Definition Result.h:155
The canonical owning dynamic value used by data-facing protocols.
Definition Value.h:31
Immutable validated atmospheric sky profile, schema eve.sky-profile versions 1 through 6.
Definition SkyProfile.h:29
std::variant< std::monostate, std::int64_t, double, std::string, bool > Value
Definition Database.h:26
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
Build metadata (engine git commit, build time, third-party version).
Definition Build.cpp:16
Independent runtime settings; not a serialized profile or a legacy DayNight override.
Definition SkyRuntime.h:21
Spherical atmospheric coefficients in inverse kilometres and kilometre heights.