载入中...
搜索中...
未找到
eve::graphics::fog::ProceduralDust类 参考

Procedural dust that does not use persistent particle buffers or screen trails. 更多...

#include <ProceduralDust.h>

Public 成员函数

Result< std::vector< DustParticle > > generate (const FogWorldBounds &volume, int count, float timeSeconds, float turbulenceMeters, std::uint32_t seed) const
 Generate dust inside an AABB for the current view time.
 

详细描述

Procedural dust that does not use persistent particle buffers or screen trails.

Fine and Mid bands share a stable world-space hash distribution with a continuous local turbulence offset so camera motion never leaves fixed screen-space noise.

在文件 ProceduralDust.h 第 29 行定义.

成员函数说明

◆ generate()

Result< std::vector< DustParticle > > eve::graphics::fog::ProceduralDust::generate ( const FogWorldBounds &  volume,
int  count,
float  timeSeconds,
float  turbulenceMeters,
std::uint32_t  seed 
) const

Generate dust inside an AABB for the current view time.

参数
countRequested mote count in [1, 4096].
turbulenceMetersPeak local offset amplitude.
seedStable world hash seed.

在文件 ProceduralDust.cpp 第 27 行定义.

引用了 eve::graphics::fog::DustParticle::band, count, eve::Diagnostic::error(), eve::graphics::fog::DustParticle::Fine, eve::InvalidArgument, eve::graphics::fog::DustParticle::Mid, p, phase, seed, size , 以及 volume.

被这些函数引用 eve::graphics::fog::FogSystem::generateDust().


该类的文档由以下文件生成: