One source vegetation prototype shared by baked terrain instances. 更多...
#include <TerrainImporter.h>
Public 属性 | |
| std::string | prototype |
| std::string | renderMode |
| bool | usePrototypeMesh = false |
| bool | useInstancing = false |
| float | minWidth = 1.f |
| float | maxWidth = 1.f |
| float | minHeight = 1.f |
| float | maxHeight = 1.f |
| std::int64_t | noiseSeed = 0 |
| float | noiseSpread = .1f |
| float | density = 1.f |
| float | alignToGround = 0.f |
| float | positionJitter = 0.f |
| std::string | resourceAsset |
| std::array< float, 4 > | healthyColor {1.f, 1.f, 1.f, 1.f} |
| std::array< float, 4 > | dryColor {1.f, 1.f, 1.f, 1.f} |
| float | bendFactor = 0.f |
| float | holeEdgePadding = 0.f |
| bool | useDensityScaling = true |
详细描述
One source vegetation prototype shared by baked terrain instances.
在文件 TerrainImporter.h 第 55 行定义.
类成员变量说明
◆ alignToGround
| float eve::asset_import::CanonicalTerrainDetailPrototype::alignToGround = 0.f |
在文件 TerrainImporter.h 第 67 行定义.
◆ bendFactor
| float eve::asset_import::CanonicalTerrainDetailPrototype::bendFactor = 0.f |
在文件 TerrainImporter.h 第 72 行定义.
◆ density
| float eve::asset_import::CanonicalTerrainDetailPrototype::density = 1.f |
在文件 TerrainImporter.h 第 66 行定义.
◆ dryColor
| std::array<float, 4> eve::asset_import::CanonicalTerrainDetailPrototype::dryColor {1.f, 1.f, 1.f, 1.f} |
在文件 TerrainImporter.h 第 71 行定义.
◆ healthyColor
| std::array<float, 4> eve::asset_import::CanonicalTerrainDetailPrototype::healthyColor {1.f, 1.f, 1.f, 1.f} |
在文件 TerrainImporter.h 第 70 行定义.
◆ holeEdgePadding
| float eve::asset_import::CanonicalTerrainDetailPrototype::holeEdgePadding = 0.f |
在文件 TerrainImporter.h 第 73 行定义.
◆ maxHeight
| float eve::asset_import::CanonicalTerrainDetailPrototype::maxHeight = 1.f |
在文件 TerrainImporter.h 第 63 行定义.
◆ maxWidth
| float eve::asset_import::CanonicalTerrainDetailPrototype::maxWidth = 1.f |
在文件 TerrainImporter.h 第 61 行定义.
◆ minHeight
| float eve::asset_import::CanonicalTerrainDetailPrototype::minHeight = 1.f |
在文件 TerrainImporter.h 第 62 行定义.
◆ minWidth
| float eve::asset_import::CanonicalTerrainDetailPrototype::minWidth = 1.f |
在文件 TerrainImporter.h 第 60 行定义.
◆ noiseSeed
| std::int64_t eve::asset_import::CanonicalTerrainDetailPrototype::noiseSeed = 0 |
在文件 TerrainImporter.h 第 64 行定义.
◆ noiseSpread
| float eve::asset_import::CanonicalTerrainDetailPrototype::noiseSpread = .1f |
在文件 TerrainImporter.h 第 65 行定义.
◆ positionJitter
| float eve::asset_import::CanonicalTerrainDetailPrototype::positionJitter = 0.f |
在文件 TerrainImporter.h 第 68 行定义.
◆ prototype
| std::string eve::asset_import::CanonicalTerrainDetailPrototype::prototype |
在文件 TerrainImporter.h 第 56 行定义.
◆ renderMode
| std::string eve::asset_import::CanonicalTerrainDetailPrototype::renderMode |
在文件 TerrainImporter.h 第 57 行定义.
◆ resourceAsset
| std::string eve::asset_import::CanonicalTerrainDetailPrototype::resourceAsset |
在文件 TerrainImporter.h 第 69 行定义.
◆ useDensityScaling
| bool eve::asset_import::CanonicalTerrainDetailPrototype::useDensityScaling = true |
在文件 TerrainImporter.h 第 74 行定义.
◆ useInstancing
| bool eve::asset_import::CanonicalTerrainDetailPrototype::useInstancing = false |
在文件 TerrainImporter.h 第 59 行定义.
◆ usePrototypeMesh
| bool eve::asset_import::CanonicalTerrainDetailPrototype::usePrototypeMesh = false |
在文件 TerrainImporter.h 第 58 行定义.
该结构体的文档由以下文件生成:
- src/modules/asset/import/TerrainImporter.h