载入中...
搜索中...
未找到
Waterfall.h
浏览该文件的文档.
Definition Graphics.h:56
Flowing waterfall (falling water sheet) rendered on a vertical plane.
Definition Waterfall.h:34
void setSunIntensity(float intensity)
Definition Waterfall.cpp:114
void setReflectionIntensity(float intensity)
Definition Waterfall.cpp:113
~Waterfall()=default
static int paramCount()
Names of the push-constant parameters (for UI / inspection).
Definition Waterfall.cpp:44
void createSheet(float width, float height, int segX, int segY)
Build a vertical XY plane (facing +Z, Y-up world) sized w×h, UVs [0,1]².
Definition Waterfall.cpp:56
void setStreakCount(int count)
How many layered falling streaks are drawn.
Definition Waterfall.cpp:103
void draw()
Draw the waterfall sheet (uses default mesh3d camera / lighting state).
Definition Waterfall.cpp:131
void setWaterColor(float r, float g, float b)
Definition Waterfall.cpp:108
void setTurbulence(float t)
Amount of turbulence / white-water streak in the body.
Definition Waterfall.cpp:102
float getReflectionIntensity() const
Definition Waterfall.h:77
Waterfall(const Waterfall &)=delete
void setStreakScale(float scale)
Horizontal stretch of the falling streaks (1 = circular, >1 elongated).
Definition Waterfall.cpp:104
void setTopFoam(float v)
Relative height (0..1) of the top foam lip and bottom splash bands.
Definition Waterfall.cpp:105
void setFlowSpeed(float speed)
Fall speed of the water (scales the downward scroll).
Definition Waterfall.cpp:101
Waterfall & operator=(const Waterfall &)=delete
static std::string paramName(int index)
Definition Waterfall.cpp:46
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition AnimTrail.h:6
Shader * newWaterfallShader(Graphics *gfx)
Create the embedded waterfall fragment shader (owned by Graphics).
Definition Waterfall.cpp:31