载入中...
搜索中...
未找到
命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::graphics |
| 卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局参数。 数据模型与渲染/交互逻辑见 CardTypes.h。 | |
函数 | |
| Result< std::array< float, 14 > > | eve::graphics::packVegetationWind (const VegetationWindState &state, const VegetationWindProfile &profile, double seconds) |
| Pack a wind snapshot into the grass shader's final 14 float slots. | |
| Result< void > | eve::graphics::initializeVegetationWind (VegetationWindState &state, glm::vec3 forward, float strength) |
| Apply Pcg WindManager.InstantWindApply semantics without smoothing. | |
| Result< void > | eve::graphics::advanceVegetationWind (VegetationWindState &state, glm::vec3 forward, float strength, float dt) |
| Advance source WindManager smoothing and phase using explicit nonnegative dt. Direction Y follows -max(forward.y, length(forward.xz)*0.5); strength clamps to [0,1.2]. Lerp factor clamps dt*0.25; phase uses the smoothed strength and subtracts 100 once if >100. | |
| Result< void > | eve::graphics::advanceVegetationWindAudio (VegetationWindAudioState &state, float windStrength, float transitionTime, float dt, bool enabled, bool clipAvailable) |
| Advance Pcg WindManager CheckWindVolume and ProcessWindAudio as a pure state transition. | |
| Result< glm::vec3 > | eve::graphics::evaluateVegetationWind (const VegetationWindInput &input, const VegetationWindState &state) |
| Evaluate the source main/branch/leaf deformation for one vertex without mutation. Requires finite inputs, invertible object transform, positive dimensions/distance, unit sine inputs and finite wind globals. Source branch/leaf compile switches are explicit flags. Resolves the source root 0/0 volume normalization as zero displacement; other nonrepresentable results fail. | |