载入中...
搜索中...
未找到
BakeParams public API. 更多...
#include <Grass.h>
Public 属性 | |
| float | denseRadius = 0.14f |
Poisson spacing. Keep this well below width so tufts overlap. | |
| float | sparseRadius = 0.62f |
| int | maxDense = 8192 |
| int | maxSparse = 384 |
| uint32_t | seed = 1 |
| float | width = 0.62f |
| float | height = 0.95f |
| float | minSlopeDot = 0.25f |
| int | atlasFrameW = 64 |
| int | atlasFrameH = 64 |
| int | atlasFrames = 4 |
| std::vector< std::string > | grassAtlasFiles |
| Authored 2x2 sway masks (4 grass + 2 leaf). Empty = procedural strip. | |
| std::vector< std::string > | leafAtlasFiles |
详细描述
BakeParams public API.
类成员变量说明
◆ atlasFrameH
◆ atlasFrames
◆ atlasFrameW
◆ denseRadius
| float eve::graphics::GrassField::BakeParams::denseRadius = 0.14f |
◆ grassAtlasFiles
| std::vector<std::string> eve::graphics::GrassField::BakeParams::grassAtlasFiles |
◆ height
◆ leafAtlasFiles
| std::vector<std::string> eve::graphics::GrassField::BakeParams::leafAtlasFiles |
◆ maxDense
◆ maxSparse
◆ minSlopeDot
◆ seed
◆ sparseRadius
◆ width
该结构体的文档由以下文件生成:
- src/modules/graphics/Grass.h