载入中...
搜索中...
未找到
eve::hexmap::HexTerrainBake结构体 参考

Packed terrain produced by a generator and applied onto a hex map. 更多...

#include <HexTerrainBake.h>

Public 类型

enum class  Kind : std::uint8_t { Planar = 0 , Sphere = 1 }
 Which live map the bake is allowed to land on. 更多...
 

Public 属性

Kind kind = Kind::Planar
 
std::int32_t cellCountX = 0
 
std::int32_t cellCountZ = 0
 
std::int32_t cellCount = 0
 
std::int32_t subdivision = 0
 
float radius = 0.f
 
std::uint32_t seed = 0
 
std::vector< HexCellData > cells
 

详细描述

Packed terrain produced by a generator and applied onto a hex map.

This is the consumer-owned contract: hexmap asks for cells, not for a generator algorithm. Planar bakes fill a rectangular offset grid; sphere bakes fill a Goldberg topology that must already exist on the live map.

注解
The packed cells string in the script Value uses little-endian HexValues then HexFlags (eight bytes per cell).

在文件 HexTerrainBake.h 第 28 行定义.

成员枚举类型说明

◆ Kind

enum class eve::hexmap::HexTerrainBake::Kind : std::uint8_t
strong

Which live map the bake is allowed to land on.

枚举值
Planar 
Sphere 

在文件 HexTerrainBake.h 第 30 行定义.

类成员变量说明

◆ cellCount

◆ cellCountX

std::int32_t eve::hexmap::HexTerrainBake::cellCountX = 0

◆ cellCountZ

std::int32_t eve::hexmap::HexTerrainBake::cellCountZ = 0

◆ cells

◆ kind

◆ radius

float eve::hexmap::HexTerrainBake::radius = 0.f

◆ seed

◆ subdivision

std::int32_t eve::hexmap::HexTerrainBake::subdivision = 0

该结构体的文档由以下文件生成: