CARLA
Loading...
Searching...
No Matches
CityMapMeshTag.cpp
Go to the documentation of this file.
1// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
3//
4// This work is licensed under the terms of the MIT license.
5// For a copy, see <https://opensource.org/licenses/MIT>.
6
7#include "CityMapMeshTag.h"
8#include "Carla.h"
9
10#include <util/ue-header-guard-begin.h>
11#include "UObject/Package.h"
12#include <util/ue-header-guard-end.h>
13
14#include <array>
15
17{
18 return ECityMapMeshTag::RoadTwoLanes_LaneLeft;
19}
20
22{
23 return 5u;
24}
25
27{
28 static_assert(TIsEnumClass<ECityMapMeshTag>::Value);
29 return StaticEnum<ECityMapMeshTag>()->GetNameStringByValue((int64)Tag);
30}
ECityMapMeshTag
Tag to identify the meshes used by the ProceduralMapGenerator.
static FString ToString(ECityMapMeshTag Tag)
Get Tag name as FString.
static ECityMapMeshTag GetBaseMeshTag()
Return the base mesh. The base mesh defines the unit tile for map scaling.
static uint32 GetRoadIntersectionSize()
Get the size in tiles of a road intersection side.