TextureGenContext public API. 更多...
#include <TextureRecipe.h>
静态 Public 成员函数 | |
| static TextureGenContext | fromParams (const Params ¶ms) |
| From params. | |
Public 属性 | |
| int | width = 64 |
| int | height = 64 |
| uint32_t | seed = 1 |
| float | scale = 4.f |
| int | octaves = 4 |
| int | colors = 6 |
| int | pixelSize = 1 |
| bool | seamless = true |
| float | warpAmp = 1.f |
详细描述
TextureGenContext public API.
在文件 TextureRecipe.h 第 69 行定义.
成员函数说明
◆ fromParams()
|
static |
类成员变量说明
◆ colors
| int eve::procgen::TextureGenContext::colors = 6 |
在文件 TextureRecipe.h 第 75 行定义.
被这些函数引用 fromParams().
◆ height
| int eve::procgen::TextureGenContext::height = 64 |
在文件 TextureRecipe.h 第 71 行定义.
被这些函数引用 eve::procgen::fillHeightField() , 以及 fromParams().
◆ octaves
| int eve::procgen::TextureGenContext::octaves = 4 |
在文件 TextureRecipe.h 第 74 行定义.
被这些函数引用 fromParams().
◆ pixelSize
| int eve::procgen::TextureGenContext::pixelSize = 1 |
在文件 TextureRecipe.h 第 76 行定义.
被这些函数引用 fromParams().
◆ scale
| float eve::procgen::TextureGenContext::scale = 4.f |
在文件 TextureRecipe.h 第 73 行定义.
被这些函数引用 eve::procgen::fillHeightField() , 以及 fromParams().
◆ seamless
| bool eve::procgen::TextureGenContext::seamless = true |
在文件 TextureRecipe.h 第 77 行定义.
被这些函数引用 eve::procgen::fillHeightField() , 以及 fromParams().
◆ seed
| uint32_t eve::procgen::TextureGenContext::seed = 1 |
在文件 TextureRecipe.h 第 72 行定义.
被这些函数引用 eve::procgen::fillHeightField() , 以及 fromParams().
◆ warpAmp
| float eve::procgen::TextureGenContext::warpAmp = 1.f |
在文件 TextureRecipe.h 第 78 行定义.
被这些函数引用 fromParams().
◆ width
| int eve::procgen::TextureGenContext::width = 64 |
在文件 TextureRecipe.h 第 70 行定义.
被这些函数引用 eve::procgen::fillHeightField() , 以及 fromParams().
该结构体的文档由以下文件生成:
- src/modules/procgen/texture/TextureRecipe.h
- src/modules/procgen/texture/TextureRecipe.cpp