载入中...
搜索中...
未找到
PcgGraphicsPhotoMode.h
浏览该文件的文档.
1#pragma once
2
3#include "common/Export.h"
5namespace eve::graphics {
6class Graphics;class RenderControl;class Camera3D;
11public:
15 void setTargets(Graphics* graphics,RenderControl* control,Camera3D* camera);
void setAuthority(bool enabled);const PcgGraphicsPhotoModeState& state()const noexcept{return state_;}
19 PhotoModeFieldAcceptance acceptsPhotoModeField(const PhotoModeAssignment&)const noexcept override;
21 [[nodiscard]] Result<void> applyPhotoModeField(const PhotoModeAssignment&)override;
22private:void project();Graphics* graphics_=nullptr;RenderControl* control_=nullptr;Camera3D* camera_=nullptr;bool authority_=false;PcgGraphicsPhotoModeState state_{};
23};
24}
#define EVENGINE_API_BACKENDS
Definition Export.h:108
float camera[2]
IPhotoModeFieldSink public API.
Move-only operation result carrying either a value or Status.
Definition Result.h:155
EVENGINE_API_BACKENDS public API.
Explicit owner that projects Pcg graphics fields into the live render pipeline.
Declarative, compilable 3D render control.
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
PhotoModeFieldAcceptance
Capability implemented by the composition root that routes assignments to domain owners.
bool enabled
One reversible field assignment in a photo-mode transaction.
Pcg graphics quality values retained by the active render composition.