8 #include "CoreMinimal.h" 9 #include "GameFramework/Actor.h" 10 #include "ProceduralMeshComponent.h" 13 #include <boost/optional.hpp> 19 #include "OpenDriveGenerator.generated.h" 28 UPROPERTY(Category =
"Procedural Mesh Actor", VisibleDefaultsOnly, BlueprintReadOnly, meta = (AllowPrivateAccess =
"true"))
29 UProceduralMeshComponent* MeshComponent;
43 bool LoadOpenDrive(
const FString &OpenDrive);
46 const FString &GetOpenDrive()
const;
49 bool IsOpenDriveValid()
const;
52 void GenerateRoadMesh();
58 void GenerateSpawnPoints();
64 virtual void BeginPlay()
override;
68 UPROPERTY(Category =
"Spawners", EditAnywhere)
69 float SpawnersHeight = 300.f;
71 UPROPERTY(Category = "Spawners", EditAnywhere)
74 UPROPERTY(EditAnywhere)
75 FString OpenDriveData;
77 UPROPERTY(EditAnywhere)
78 TArray<AActor *> ActorMeshList;
Base class for spawner locations for walkers.