载入中...
搜索中...
未找到
Analytic beam volume: capped cone frustum or pyramidal spot. 更多...
#include <AnalyticalVolLight.h>
Public 类型 | |
| enum class | Shape : uint8_t { ConeFrustum = 0 , PyramidFrustum = 1 } |
| Shape public API. 更多... | |
Public 属性 | |
| Shape | shape = Shape::ConeFrustum |
| glm::vec3 | apex {0.f} |
| glm::vec3 | direction {0.f, 0.f, -1.f} |
| float | nearDistance = 0.25f |
| float | farDistance = 12.f |
| float | nearRadius = 0.1f |
| float | farRadius = 2.5f |
| glm::vec3 | color {1.f, 0.95f, 0.85f} |
| float | intensity = 2.f |
详细描述
Analytic beam volume: capped cone frustum or pyramidal spot.
在文件 AnalyticalVolLight.h 第 16 行定义.
成员枚举类型说明
◆ Shape
|
strong |
类成员变量说明
◆ apex
| glm::vec3 eve::graphics::fog::AnalyticBeam::apex {0.f} |
◆ color
在文件 AnalyticalVolLight.h 第 27 行定义.
被这些函数引用 eve::graphics::fog::AnalyticalVolLight::integrate().
◆ direction
◆ farDistance
| float eve::graphics::fog::AnalyticBeam::farDistance = 12.f |
◆ farRadius
| float eve::graphics::fog::AnalyticBeam::farRadius = 2.5f |
◆ intensity
| float eve::graphics::fog::AnalyticBeam::intensity = 2.f |
在文件 AnalyticalVolLight.h 第 28 行定义.
被这些函数引用 eve::graphics::fog::AnalyticalVolLight::integrate().
◆ nearDistance
| float eve::graphics::fog::AnalyticBeam::nearDistance = 0.25f |
◆ nearRadius
| float eve::graphics::fog::AnalyticBeam::nearRadius = 0.1f |
◆ shape
| Shape eve::graphics::fog::AnalyticBeam::shape = Shape::ConeFrustum |
在文件 AnalyticalVolLight.h 第 20 行定义.
该结构体的文档由以下文件生成:
- src/modules/graphics/fog/AnalyticalVolLight.h