Immutable owning visual spray state. The application owns the current frame; replacing it with a successful step is publication. No body, provider or borrowed input survives build. Concurrent reads are safe; no callbacks or wall-clock reads. Determinism is same-input repeatability, with numerical cross-platform tolerance. 更多...
#include <OceanSpray.h>
Public 成员函数 | |
| std::span< const OceanSprayParticle > | particles () const |
| Borrow particles until this frame is destroyed or moved; never retain across replacement. | |
| double | time () const |
| Simulation seconds represented by this frame. | |
| OceanSprayReport | report () const |
| Owning counters for accepted, dropped and retired particles. | |
| OceanSpraySettings | settings () const |
| Copy the authored settings; particles retain their own spawn lifetime and radius. | |
静态 Public 成员函数 | |
| static EVENGINE_API_DOMAINS Result< OceanSprayFrame > | create (const OceanSpraySettings &settings) |
| Validate settings and create an empty state at time zero. | |
友元 | |
| class | OceanSprayStepBuilder |
详细描述
Immutable owning visual spray state. The application owns the current frame; replacing it with a successful step is publication. No body, provider or borrowed input survives build. Concurrent reads are safe; no callbacks or wall-clock reads. Determinism is same-input repeatability, with numerical cross-platform tolerance.
在文件 OceanSpray.h 第 45 行定义.
成员函数说明
◆ create()
|
static |
Validate settings and create an empty state at time zero.
在文件 OceanSpray.cpp 第 30 行定义.
引用了 out, s, eve::Result< T >::success() , 以及 eve::fluids::ocean_script::vector().
被这些函数引用 eve::fluids::exposeOceanSprayTypes().
◆ particles()
|
inline |
Borrow particles until this frame is destroyed or moved; never retain across replacement.
在文件 OceanSpray.h 第 50 行定义.
◆ report()
|
inline |
Owning counters for accepted, dropped and retired particles.
在文件 OceanSpray.h 第 54 行定义.
◆ settings()
|
inline |
Copy the authored settings; particles retain their own spawn lifetime and radius.
在文件 OceanSpray.h 第 56 行定义.
◆ time()
|
inline |
Simulation seconds represented by this frame.
在文件 OceanSpray.h 第 52 行定义.
友元及相关函数文档
◆ OceanSprayStepBuilder
|
friend |
在文件 OceanSpray.h 第 59 行定义.
该类的文档由以下文件生成:
- src/modules/fluids/OceanSpray.h
- src/modules/fluids/OceanSpray.cpp