Helper class for working with ECityMapMeshTag. 更多...
#include <CityMapMeshTag.h>
静态 Public 成员函数 | |
static ECityMapMeshTag | GetBaseMeshTag () |
Return the base mesh. The base mesh defines the unit tile for map scaling. | |
static constexpr uint8 | GetNumberOfTags () |
Return the number of tags. | |
static uint32 | GetRoadIntersectionSize () |
Get the size in tiles of a road intersection side. | |
Tag conversions | |
static constexpr uint8 | ToUInt (ECityMapMeshTag Tag) |
Convert Tag to an unsigned integer type. | |
static ECityMapMeshTag | FromUInt (uint8 Value) |
Convert an unsigned integer to a ECityMapMeshTag. | |
static FString | ToString (ECityMapMeshTag Tag) |
Get Tag name as FString. | |
static FString | ToString (uint8 Value) |
Convert Value to ECityMapMeshTag and get its name as FString. | |
Helper class for working with ECityMapMeshTag.
在文件 CityMapMeshTag.h 第 76 行定义.
|
inlinestatic |
Convert an unsigned integer to a ECityMapMeshTag.
在文件 CityMapMeshTag.h 第 101 行定义.
引用了 GetNumberOfTags().
被这些函数引用 ACityMapMeshHolder::ACityMapMeshHolder() , 以及 ToString().
|
static |
Return the base mesh. The base mesh defines the unit tile for map scaling.
在文件 CityMapMeshTag.cpp 第 14 行定义.
被这些函数引用 ACityMapMeshHolder::UpdateMapScale().
|
inlinestaticconstexpr |
Return the number of tags.
在文件 CityMapMeshTag.h 第 81 行定义.
引用了 ToUInt().
被这些函数引用 FromUInt().
|
static |
Get the size in tiles of a road intersection side.
I.e., return N such NxN is the size of a road intersection piece.
在文件 CityMapMeshTag.cpp 第 19 行定义.
被这些函数引用 ACityMapGenerator::GenerateRoadMap() , 以及 ACityMapGenerator::GenerateRoads().
|
static |
Get Tag name as FString.
在文件 CityMapMeshTag.cpp 第 24 行定义.
被这些函数引用 ToString() , 以及 ACityMapMeshHolder::UpdateMapScale().
|
inlinestatic |
Convert Value to ECityMapMeshTag and get its name as FString.
在文件 CityMapMeshTag.h 第 110 行定义.
引用了 FromUInt() , 以及 ToString().
|
inlinestaticconstexpr |
Convert Tag to an unsigned integer type.
在文件 CityMapMeshTag.h 第 96 行定义.
被这些函数引用 GetNumberOfTags().