载入中...
搜索中...
未找到
VegetationWind.h
浏览该文件的文档.
39[[nodiscard]] EVENGINE_API_BACKENDS Result<void> advanceVegetationWindAudio(VegetationWindAudioState& state,
86[[nodiscard]] EVENGINE_API_BACKENDS Result<void> initializeVegetationWind(VegetationWindState& state, glm::vec3 forward,
95[[nodiscard]] EVENGINE_API_BACKENDS Result<void> advanceVegetationWind(VegetationWindState& state, glm::vec3 forward,
104[[nodiscard]] EVENGINE_API_BACKENDS Result<glm::vec3> evaluateVegetationWind(const VegetationWindInput& input,
Move-only, checked operation results for the common layer.
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
Result< std::array< float, 14 > > packVegetationWind(const VegetationWindState &state, const VegetationWindProfile &profile, double seconds)
Pack a wind snapshot into the grass shader's final 14 float slots.
Definition VegetationWind.cpp:18
Result< void > advanceVegetationWind(VegetationWindState &state, glm::vec3 forward, float strength, float dt)
Advance source WindManager smoothing and phase using explicit nonnegative dt. Direction Y follows -ma...
Definition VegetationWind.cpp:48
Result< void > initializeVegetationWind(VegetationWindState &state, glm::vec3 forward, float strength)
Apply Pcg WindManager.InstantWindApply semantics without smoothing.
Definition VegetationWind.cpp:32
Result< glm::vec3 > evaluateVegetationWind(const VegetationWindInput &in, const VegetationWindState &state)
Evaluate the source main/branch/leaf deformation for one vertex without mutation. Requires finite inp...
Definition VegetationWind.cpp:97
Result< void > advanceVegetationWindAudio(VegetationWindAudioState &state, float windStrength, float transitionTime, float dt, bool enabled, bool clipAvailable)
Advance Pcg WindManager CheckWindVolume and ProcessWindAudio as a pure state transition.
Definition VegetationWind.cpp:68
Caller-owned state for Pcg WindManager's looping wind-audio volume controller.
Definition VegetationWind.h:17
float anchorVolume
Definition VegetationWind.h:19
float currentWindSpeed
Definition VegetationWind.h:18
Explicit source PW_GeneralWind inputs in object/world coordinates.
Definition VegetationWind.h:63
glm::mat3 objectToWorld
Definition VegetationWind.h:65
glm::vec3 cameraPosition
Definition VegetationWind.h:64
float maximumDistance
Definition VegetationWind.h:68
float sinTimeQuarter
Inject Unity-equivalent sin(time/4) and sin(time) values.
Definition VegetationWind.h:70
Caller-owned material wind controls; billboard suppresses source branch and leaf motion....
Definition VegetationWind.h:46
float maximumDistance
Definition VegetationWind.h:48
Caller-owned wind globals; no hidden clock, singleton or retained scene link.
Definition VegetationWind.h:7
float updatePhase
WindManager's private update accumulator; InstantWindApply deliberately preserves it.
Definition VegetationWind.h:13