Caller-owned material wind controls; billboard suppresses source branch and leaf motion. AlphaTest controls leaf motion only, independently of the renderer's alpha discard. 更多...
#include <VegetationWind.h>
Public 属性 | |
| glm::vec3 | flex {0.8F, 1.15F, 0.1F} |
| glm::vec3 | frequency {0.25F, 0.5F, 1.3F} |
| float | maximumDistance = 100 |
| bool | enabled = false |
| bool | billboard = false |
| bool | alphaTest = true |
详细描述
Caller-owned material wind controls; billboard suppresses source branch and leaf motion. AlphaTest controls leaf motion only, independently of the renderer's alpha discard.
在文件 VegetationWind.h 第 46 行定义.
类成员变量说明
◆ alphaTest
| bool eve::graphics::VegetationWindProfile::alphaTest = true |
在文件 VegetationWind.h 第 49 行定义.
被这些函数引用 eve::graphics::exposeGrassWindBindings() , 以及 eve::graphics::packVegetationWind().
◆ billboard
| bool eve::graphics::VegetationWindProfile::billboard = false |
在文件 VegetationWind.h 第 49 行定义.
被这些函数引用 eve::graphics::exposeGrassWindBindings() , 以及 eve::graphics::packVegetationWind().
◆ enabled
| bool eve::graphics::VegetationWindProfile::enabled = false |
在文件 VegetationWind.h 第 49 行定义.
被这些函数引用 eve::graphics::exposeGrassWindBindings() , 以及 eve::graphics::packVegetationWind().
◆ flex
| glm::vec3 eve::graphics::VegetationWindProfile::flex {0.8F, 1.15F, 0.1F} |
在文件 VegetationWind.h 第 47 行定义.
被这些函数引用 eve::graphics::applyTreeWind() , 以及 eve::graphics::packVegetationWind().
◆ frequency
| glm::vec3 eve::graphics::VegetationWindProfile::frequency {0.25F, 0.5F, 1.3F} |
在文件 VegetationWind.h 第 47 行定义.
被这些函数引用 eve::graphics::packVegetationWind().
◆ maximumDistance
| float eve::graphics::VegetationWindProfile::maximumDistance = 100 |
在文件 VegetationWind.h 第 48 行定义.
被这些函数引用 eve::graphics::exposeGrassWindBindings() , 以及 eve::graphics::packVegetationWind().
该结构体的文档由以下文件生成:
- src/modules/graphics/VegetationWind.h