|
CARLA
|
Helper class for working with ECityMapMeshTag. More...
#include <CityMapMeshTag.h>
Static Public Member Functions | |
| 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.
Definition at line 80 of file CityMapMeshTag.h.
|
inlinestatic |
Convert an unsigned integer to a ECityMapMeshTag.
Definition at line 105 of file CityMapMeshTag.h.
References GetNumberOfTags().
Referenced by ACityMapMeshHolder::ACityMapMeshHolder(), and ToString().
|
static |
Return the base mesh. The base mesh defines the unit tile for map scaling.
Definition at line 16 of file CityMapMeshTag.cpp.
Referenced by ACityMapMeshHolder::UpdateMapScale().
|
inlinestaticconstexpr |
Return the number of tags.
Definition at line 85 of file CityMapMeshTag.h.
References ToUInt().
Referenced by 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.
Definition at line 21 of file CityMapMeshTag.cpp.
Referenced by ACityMapGenerator::GenerateRoadMap(), and ACityMapGenerator::GenerateRoads().
|
static |
Get Tag name as FString.
Definition at line 26 of file CityMapMeshTag.cpp.
Referenced by ToString(), and ACityMapMeshHolder::UpdateMapScale().
|
inlinestatic |
Convert Value to ECityMapMeshTag and get its name as FString.
Definition at line 114 of file CityMapMeshTag.h.
References FromUInt(), and ToString().
|
inlinestaticconstexpr |
Convert Tag to an unsigned integer type.
Definition at line 100 of file CityMapMeshTag.h.
Referenced by GetNumberOfTags().