Owning rest vertex in object space, with unpacked authoring channels. Bending/branch/flutter/variation/occlusion/detail are [0,1]. Bounds are meters. A pivot and variation shared by one plant preserve coherent motion after mesh combining. 更多...
#include <VegetationMotion.h>
Public 属性 | |
| glm::vec3 | position {0.f} |
| glm::vec3 | normal {0.f, 1.f, 0.f} |
| glm::vec3 | pivot {0.f} |
| float | bending = 0.f |
| float | branch = 0.f |
| float | flutter = 0.f |
| float | variation = 0.5f |
| float | occlusion = 1.f |
| float | detail = 0.f |
| float | boundsHeight = 1.f |
| float | boundsRadius = 1.f |
| glm::vec2 | texcoord {0.f} |
| glm::vec2 | secondaryTexcoord {0.f} |
| glm::vec2 | detailCoord {0.f} |
| std::optional< glm::vec4 > | tangent |
| Optional authored tangent XYZ plus signed unit handedness; all vertices agree on presence. | |
详细描述
Owning rest vertex in object space, with unpacked authoring channels. Bending/branch/flutter/variation/occlusion/detail are [0,1]. Bounds are meters. A pivot and variation shared by one plant preserve coherent motion after mesh combining.
在文件 VegetationMotion.h 第 21 行定义.
类成员变量说明
◆ bending
| float eve::graphics::VegetationVertex::bending = 0.f |
在文件 VegetationMotion.h 第 23 行定义.
◆ boundsHeight
| float eve::graphics::VegetationVertex::boundsHeight = 1.f |
在文件 VegetationMotion.h 第 25 行定义.
◆ boundsRadius
| float eve::graphics::VegetationVertex::boundsRadius = 1.f |
在文件 VegetationMotion.h 第 25 行定义.
◆ branch
| float eve::graphics::VegetationVertex::branch = 0.f |
在文件 VegetationMotion.h 第 23 行定义.
◆ detail
| float eve::graphics::VegetationVertex::detail = 0.f |
在文件 VegetationMotion.h 第 24 行定义.
◆ detailCoord
| glm::vec2 eve::graphics::VegetationVertex::detailCoord {0.f} |
在文件 VegetationMotion.h 第 26 行定义.
◆ flutter
| float eve::graphics::VegetationVertex::flutter = 0.f |
在文件 VegetationMotion.h 第 23 行定义.
◆ normal
在文件 VegetationMotion.h 第 22 行定义.
◆ occlusion
| float eve::graphics::VegetationVertex::occlusion = 1.f |
在文件 VegetationMotion.h 第 24 行定义.
◆ pivot
| glm::vec3 eve::graphics::VegetationVertex::pivot {0.f} |
在文件 VegetationMotion.h 第 22 行定义.
◆ position
| glm::vec3 eve::graphics::VegetationVertex::position {0.f} |
在文件 VegetationMotion.h 第 22 行定义.
◆ secondaryTexcoord
| glm::vec2 eve::graphics::VegetationVertex::secondaryTexcoord {0.f} |
在文件 VegetationMotion.h 第 26 行定义.
◆ tangent
| std::optional<glm::vec4> eve::graphics::VegetationVertex::tangent |
Optional authored tangent XYZ plus signed unit handedness; all vertices agree on presence.
在文件 VegetationMotion.h 第 28 行定义.
◆ texcoord
| glm::vec2 eve::graphics::VegetationVertex::texcoord {0.f} |
在文件 VegetationMotion.h 第 26 行定义.
◆ variation
| float eve::graphics::VegetationVertex::variation = 0.5f |
在文件 VegetationMotion.h 第 24 行定义.
该结构体的文档由以下文件生成:
- src/modules/graphics/VegetationMotion.h