载入中...
搜索中...
未找到
eve::graphics::fog::FogWorldBounds结构体 参考

Axis-aligned world bounds for a fog simulation domain. 更多...

#include <FogTypes.h>

Public 成员函数

glm::vec3 size () const noexcept
 Returns the size of .
 
glm::vec3 center () const noexcept
 Center.
 
bool contains (const glm::vec3 &p) const noexcept
 True if active.
 

Public 属性

glm::vec3 minimum {-8.f, 0.f, -8.f}
 
glm::vec3 maximum {8.f, 6.f, 8.f}
 

详细描述

Axis-aligned world bounds for a fog simulation domain.

在文件 FogTypes.h 第 96 行定义.

成员函数说明

◆ center()

glm::vec3 eve::graphics::fog::FogWorldBounds::center ( ) const
inlinenoexcept

Center.

在文件 FogTypes.h 第 103 行定义.

引用了 maximum , 以及 minimum.

◆ contains()

bool eve::graphics::fog::FogWorldBounds::contains ( const glm::vec3 &  p) const
inlinenoexcept

True if active.

在文件 FogTypes.h 第 105 行定义.

引用了 maximum, minimum , 以及 p.

◆ size()

glm::vec3 eve::graphics::fog::FogWorldBounds::size ( ) const
inlinenoexcept

Returns the size of .

在文件 FogTypes.h 第 101 行定义.

引用了 maximum , 以及 minimum.

被这些函数引用 eve::graphics::fog::FogSystem::renderToFroxel() , 以及 eve::graphics::fog::FogSystem::syncToVolumetric().

类成员变量说明

◆ maximum

glm::vec3 eve::graphics::fog::FogWorldBounds::maximum {8.f, 6.f, 8.f}

在文件 FogTypes.h 第 98 行定义.

被这些函数引用 center(), contains(), eve::graphics::fog::FogDensityField::resize() , 以及 size().

◆ minimum

glm::vec3 eve::graphics::fog::FogWorldBounds::minimum {-8.f, 0.f, -8.f}

在文件 FogTypes.h 第 97 行定义.

被这些函数引用 center(), contains(), eve::graphics::fog::FogDensityField::resize() , 以及 size().


该结构体的文档由以下文件生成: