43 virtual void PreSave(
const ITargetPlatform *TargetPlatform)
override;
52 virtual void UpdateMap()
override;
61 UFUNCTION(BlueprintCallable)
84 void GenerateRoadMap();
96 UPROPERTY(Category =
"Map Generation", EditAnywhere, meta = (ClampMin =
"10", ClampMax =
"200"))
97 uint32 MapSizeX = 20u;
102 UPROPERTY(Category = "Map Generation", EditAnywhere, meta = (ClampMin = "10", ClampMax = "200"))
103 uint32 MapSizeY = 20u;
108 UPROPERTY(Category = "Map Generation", EditAnywhere)
109 bool bGenerateRoads = true;
112 UPROPERTY(Category = "Map Generation", EditAnywhere)
113 bool bUseFixedSeed = true;
116 UPROPERTY(Category = "Map Generation", EditAnywhere, meta = (EditCondition = bUseFixedSeed))
117 int32 Seed = 123456789;
129 UPROPERTY(Category = "Road Map", EditAnywhere)
130 bool bTriggerRoadMapGeneration = false;
135 UPROPERTY(Category = "Road Map", EditAnywhere, meta = (ClampMin = "1", ClampMax = "500"))
136 uint32 PixelsPerMapUnit = 50u;
139 UPROPERTY(Category = "Road Map", EditAnywhere)
140 bool bLeftHandTraffic = false;
145 UPROPERTY(Category = "Road Map", EditAnywhere)
146 bool bSaveRoadMapToDisk = true;
151 UPROPERTY(Category = "Road Map", EditAnywhere)
152 bool bDrawDebugPixelsToLevel = false;
158 UPROPERTY(Category = "Road Map", EditAnywhere, AdvancedDisplay)
159 bool bGenerateRoadMapOnSave = true;
166 UPROPERTY(Category = "Road Map", EditAnywhere, AdvancedDisplay)
167 bool bTagForSemanticSegmentation = false;
179 TUniquePtr<
MapGen::DoublyConnectedEdgeList> Dcel;
181 TUniquePtr<
MapGen::GraphParser> DcelParser;