Spherical atmospheric coefficients in inverse kilometres and kilometre heights. 更多...
#include <SkyAtmospherePass.h>
Public 成员函数 | |
| EVENGINE_API_BACKENDS Result< void > | validate () const |
| Validate finite optical coefficients, bounded geometry and energy controls without mutation. | |
Public 属性 | |
| std::array< float, 3 > | rayleigh {.0067450796f, .0163137194f, .04f} |
| float | rayleighHeightKm = 8 |
| std::array< float, 3 > | mieScattering {.0112259542f, .0123162284f, .013996f} |
| float | mieHeightKm = 1.2f |
| std::array< float, 3 > | mieAbsorption {.000444f, .000444f, .000444f} |
| float | mieAnisotropy = .75f |
| std::array< float, 3 > | ozoneAbsorption {.001794476f, .002f, .000190614f} |
| float | ozoneCenterKm = 25 |
| float | ozoneHalfWidthKm = 15 |
| float | groundRadiusKm = 6360 |
| float | atmosphereHeightKm = 60 |
| std::array< float, 3 > | groundAlbedo {.40197778f, .40197778f, .40197778f} |
| float | multiScatteringFactor = 1 |
| SkyHeightFogParameters | heightFog |
详细描述
Spherical atmospheric coefficients in inverse kilometres and kilometre heights.
Defaults are resolved from the local UDS 5.8 clear-noon SkyAtmosphere component. This runtime value is not a persistent schema.
在文件 SkyAtmospherePass.h 第 39 行定义.
成员函数说明
◆ validate()
| Result< void > eve::graphics::SkyAtmosphereParameters::validate | ( | ) | const |
Validate finite optical coefficients, bounded geometry and energy controls without mutation.
在文件 SkyAtmosphereLuts.cpp 第 106 行定义.
引用了 atmosphereHeightKm, eve::graphics::SkyHeightFogParameters::densityPerMetre, eve::Diagnostic::error(), eve::Result< T >::failure(), groundAlbedo, groundRadiusKm, heightFog, eve::InvalidArgument, mieAbsorption, mieAnisotropy, mieHeightKm, mieScattering, multiScatteringFactor, ozoneAbsorption, ozoneCenterKm, ozoneHalfWidthKm, range, rayleigh, rayleighHeightKm, eve::Result< T >::success() , 以及 eve::graphics::SkyHeightFogParameters::validate().
类成员变量说明
◆ atmosphereHeightKm
| float eve::graphics::SkyAtmosphereParameters::atmosphereHeightKm = 60 |
在文件 SkyAtmospherePass.h 第 50 行定义.
被这些函数引用 validate().
◆ groundAlbedo
| std::array<float, 3> eve::graphics::SkyAtmosphereParameters::groundAlbedo {.40197778f, .40197778f, .40197778f} |
在文件 SkyAtmospherePass.h 第 51 行定义.
被这些函数引用 validate().
◆ groundRadiusKm
| float eve::graphics::SkyAtmosphereParameters::groundRadiusKm = 6360 |
在文件 SkyAtmospherePass.h 第 49 行定义.
被这些函数引用 validate().
◆ heightFog
| SkyHeightFogParameters eve::graphics::SkyAtmosphereParameters::heightFog |
在文件 SkyAtmospherePass.h 第 53 行定义.
被这些函数引用 validate().
◆ mieAbsorption
| std::array<float, 3> eve::graphics::SkyAtmosphereParameters::mieAbsorption {.000444f, .000444f, .000444f} |
在文件 SkyAtmospherePass.h 第 44 行定义.
被这些函数引用 validate().
◆ mieAnisotropy
| float eve::graphics::SkyAtmosphereParameters::mieAnisotropy = .75f |
在文件 SkyAtmospherePass.h 第 45 行定义.
被这些函数引用 validate().
◆ mieHeightKm
| float eve::graphics::SkyAtmosphereParameters::mieHeightKm = 1.2f |
在文件 SkyAtmospherePass.h 第 43 行定义.
被这些函数引用 validate().
◆ mieScattering
| std::array<float, 3> eve::graphics::SkyAtmosphereParameters::mieScattering {.0112259542f, .0123162284f, .013996f} |
在文件 SkyAtmospherePass.h 第 42 行定义.
被这些函数引用 validate().
◆ multiScatteringFactor
| float eve::graphics::SkyAtmosphereParameters::multiScatteringFactor = 1 |
在文件 SkyAtmospherePass.h 第 52 行定义.
被这些函数引用 validate().
◆ ozoneAbsorption
| std::array<float, 3> eve::graphics::SkyAtmosphereParameters::ozoneAbsorption {.001794476f, .002f, .000190614f} |
在文件 SkyAtmospherePass.h 第 46 行定义.
被这些函数引用 validate().
◆ ozoneCenterKm
| float eve::graphics::SkyAtmosphereParameters::ozoneCenterKm = 25 |
在文件 SkyAtmospherePass.h 第 47 行定义.
被这些函数引用 validate().
◆ ozoneHalfWidthKm
| float eve::graphics::SkyAtmosphereParameters::ozoneHalfWidthKm = 15 |
在文件 SkyAtmospherePass.h 第 48 行定义.
被这些函数引用 validate().
◆ rayleigh
| std::array<float, 3> eve::graphics::SkyAtmosphereParameters::rayleigh {.0067450796f, .0163137194f, .04f} |
在文件 SkyAtmospherePass.h 第 40 行定义.
被这些函数引用 validate().
◆ rayleighHeightKm
| float eve::graphics::SkyAtmosphereParameters::rayleighHeightKm = 8 |
在文件 SkyAtmospherePass.h 第 41 行定义.
被这些函数引用 validate().
该结构体的文档由以下文件生成:
- src/modules/graphics/sky/SkyAtmospherePass.h
- src/modules/graphics/sky/SkyAtmosphereLuts.cpp