Caller-owned, immutable-after-configuration Pcg interior-weather volume. @ownership This value owns all configuration; Weather copies sampled state and never retains this object. @thread Affine to the caller; configure and sample must not overlap. @reentrancy Does not invoke callbacks. 更多...
#include <PcgInteriorWeatherVolume.h>
Public 成员函数 | |
| Result< void > | configureBox (float centerX, float centerY, float centerZ, float sizeX, float sizeY, float sizeZ, int mode, int interiorReverbPreset, int exteriorReverbPreset) |
| Configure an axis-aligned box atomically. Dimensions must be finite and positive. | |
| Result< void > | configureSphere (float centerX, float centerY, float centerZ, float radius, int mode, int interiorReverbPreset, int exteriorReverbPreset) |
| Configure a sphere atomically. Radius must be finite and positive. | |
| bool | contains (float x, float y, float z) const noexcept |
| Return whether a finite world-space position lies inside, including the boundary. | |
| PcgInteriorWeatherShape | shape () const noexcept |
| Shape. | |
| PcgInteriorWeatherMode | mode () const noexcept |
| Mode. | |
| int | interiorReverbPreset () const noexcept |
| Interior reverb preset. | |
| int | exteriorReverbPreset () const noexcept |
| Exterior reverb preset. | |
详细描述
Caller-owned, immutable-after-configuration Pcg interior-weather volume. @ownership This value owns all configuration; Weather copies sampled state and never retains this object. @thread Affine to the caller; configure and sample must not overlap. @reentrancy Does not invoke callbacks.
在文件 PcgInteriorWeatherVolume.h 第 22 行定义.
成员函数说明
◆ configureBox()
| Result< void > eve::weather::PcgInteriorWeatherVolume::configureBox | ( | float | centerX, |
| float | centerY, | ||
| float | centerZ, | ||
| float | sizeX, | ||
| float | sizeY, | ||
| float | sizeZ, | ||
| int | mode, | ||
| int | interiorReverbPreset, | ||
| int | exteriorReverbPreset | ||
| ) |
Configure an axis-aligned box atomically. Dimensions must be finite and positive.
在文件 PcgInteriorWeatherVolume.cpp 第 16 行定义.
引用了 eve::weather::Box, eve::Diagnostic::error(), exteriorReverbPreset(), eve::Result< T >::failure(), interiorReverbPreset(), eve::InvalidArgument, mode() , 以及 eve::Result< T >::success().
◆ configureSphere()
| Result< void > eve::weather::PcgInteriorWeatherVolume::configureSphere | ( | float | centerX, |
| float | centerY, | ||
| float | centerZ, | ||
| float | radius, | ||
| int | mode, | ||
| int | interiorReverbPreset, | ||
| int | exteriorReverbPreset | ||
| ) |
Configure a sphere atomically. Radius must be finite and positive.
在文件 PcgInteriorWeatherVolume.cpp 第 36 行定义.
引用了 eve::Diagnostic::error(), exteriorReverbPreset(), eve::Result< T >::failure(), interiorReverbPreset(), eve::InvalidArgument, mode(), radius, eve::weather::Sphere , 以及 eve::Result< T >::success().
◆ contains()
|
noexcept |
Return whether a finite world-space position lies inside, including the boundary.
在文件 PcgInteriorWeatherVolume.cpp 第 55 行定义.
◆ exteriorReverbPreset()
|
inlinenoexcept |
Exterior reverb preset.
在文件 PcgInteriorWeatherVolume.h 第 44 行定义.
被这些函数引用 configureBox() , 以及 configureSphere().
◆ interiorReverbPreset()
|
inlinenoexcept |
Interior reverb preset.
在文件 PcgInteriorWeatherVolume.h 第 42 行定义.
被这些函数引用 configureBox() , 以及 configureSphere().
◆ mode()
|
inlinenoexcept |
◆ shape()
|
inlinenoexcept |
Shape.
在文件 PcgInteriorWeatherVolume.h 第 38 行定义.
该类的文档由以下文件生成:
- src/modules/weather/PcgInteriorWeatherVolume.h
- src/modules/weather/PcgInteriorWeatherVolume.cpp