载入中...
搜索中...
未找到
ThunderStrike.h 文件参考
#include "common/Export.h"
#include "common/Result.h"
#include <cstdint>

浏览源代码.

类

struct  eve::weather::ThunderStrikeSettings
 Pcg ThunderStrike parameters independent of renderer and audio providers. 更多...
 
struct  eve::weather::ThunderStrikeState
 Caller-owned thunder flash state. 更多...
 
struct  eve::weather::ThunderStrikeReceipt
 Deterministic strike command consumed by scene, light and audio providers. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::weather
 

函数

Result< ThunderStrikeReceipt > eve::weather::triggerThunderStrike (ThunderStrikeState &state, const ThunderStrikeSettings &settings, float playerX, float playerY, float playerZ, std::uint32_t seed)
 Start a Pcg-style strike around the supplied player position.
 
Result< void > eve::weather::advanceThunderStrike (ThunderStrikeState &state, float dt)
 Apply Pcg's clamped Lerp(intensity,0,dt*2) decay and 0.15 stop threshold.