载入中...
搜索中...
未找到
eve::fluids::ocean_codec 命名空间参考
函数 | |
| void | keys (const Value &value, std::initializer_list< const char * > names) |
| const Value & | field (const Value &value, const char *name) |
| Borrow a required child of value; throws on a missing field. | |
| double | number (const Value &value) |
| glm::dvec2 | vector (const Value &value) |
| Value | vector (glm::dvec2 value) |
| glm::dvec3 | vector3 (const Value &value) |
| Value | vector (glm::dvec3 value) |
函数说明
◆ field()
Borrow a required child of value; throws on a missing field.
- 参数
-
value Owner of the returned child; must outlive its use and remain unmodified. name Non-null field name borrowed for this call only, never retained.
- 返回
- Borrowed reference valid until value is moved, structurally modified or destroyed. @ownership The caller's value owns the result; no ownership transfer. @thread Const/reentrant, no callbacks or retained input pointers.
在文件 OceanCodecInternal.h 第 20 行定义.
被这些函数引用 eve::fluids::MeshSdfField::bind(), eve::fluids::OceanSpectrumFrameBuilder::build(), eve::fluids::ShallowWaterField::create(), eve::fluids::decodeOceanWakeSettings(), eve::fluids::decodeVolumeFluid(), eve::fluids::meshSdfFromDistanceField() , 以及 eve::fluids::Fluids::newShallowWater().
◆ keys()
|
inline |
在文件 OceanCodecInternal.h 第 8 行定义.
引用了 name, value , 以及 vector().
被这些函数引用 eve::fluids::decodeOceanHullSettings(), eve::fluids::decodeOceanSpectrumSettings() , 以及 eve::fluids::decodeOceanWakeSettings().
◆ number()
在文件 OceanCodecInternal.h 第 25 行定义.
◆ vector() [1/3]
|
inline |
◆ vector() [2/3]
|
inline |
在文件 OceanCodecInternal.h 第 35 行定义.
引用了 value.
◆ vector() [3/3]
|
inline |
在文件 OceanCodecInternal.h 第 40 行定义.
引用了 value.
◆ vector3()
在文件 OceanCodecInternal.h 第 36 行定义.