载入中...
搜索中...
未找到
Weather.h
浏览该文件的文档.
Definition Module.h:43
Definition Graphics.h:56
Weather module — real-time precipitation / lightning / wind system.
Definition Weather.h:31
void init(graphics::Graphics *gfx)
Idempotent; builds meshes/shaders on first call.
Definition Weather.cpp:323
Module_REG(Weather)
void setLightningEnabled(bool on)
Definition Weather.cpp:426
void setSkyColor(float r, float g, float b)
Definition Weather.cpp:441
float getFlash() const
How bright the current flash is (0..1), sampled by the scene for a key light.
Definition Weather.cpp:439
float getAmbientBrightness() const
Ambient multiplier that the example should feed into camera.setAmbient().
Definition Weather.cpp:461
void update(float dt, graphics::Graphics *gfx)
Advance sim + push per-frame uniforms; must run before gfx.render3D().
Definition Weather.cpp:469
void setFogColor(float r, float g, float b)
Definition Weather.cpp:451
void setWindDirection(float degrees)
Wind direction in degrees; 0 = toward +Z, 90 = toward -X.
Definition Weather.cpp:423
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition AnimTrail.h:6
Definition Weather.cpp:22
Definition Weather.cpp:240