9 #include "Engine/StaticMesh.h" 13 #include "CarlaSettings.generated.h" 20 UCLASS(BlueprintType, Blueprintable, config = Game, defaultconfig)
33 UFUNCTION(BlueprintCallable, Category =
"CARLA Settings")
40 UFUNCTION(BlueprintCallable, Category =
"CARLA Settings")
52 void LoadSettingsFromString(
const FString &INIFileContents);
55 void LogSettings()
const;
67 void LoadSettingsFromFile(
const FString &FilePath,
bool bLogOnFailure);
71 UPROPERTY(Category =
"CARLA Settings|Debug", VisibleAnywhere)
72 FString CurrentFileName;
82 UPROPERTY(Category = "CARLA Server", VisibleAnywhere, meta = (EditCondition = bUseNetworking))
83 uint32 RPCPort = 2000u;
86 uint32 StreamingPort = 2001u;
89 uint32 SecondaryPort = 2002u;
92 std::
string PrimaryIP = "";
93 uint32 PrimaryPort = 2002u;
97 UPROPERTY(Category = "CARLA Server", VisibleAnywhere, meta = (EditCondition = bUseNetworking))
98 bool bSynchronousMode = false;
102 UPROPERTY(Category = "CARLA Server", VisibleAnywhere)
103 bool bDisableRendering = false;
113 UPROPERTY(Category = "Quality Settings", VisibleAnywhere, meta = (AllowPrivateAccess = "true"))
123 UPROPERTY(Category = "Quality Settings/Low",
127 DisplayName = "Road Materials List for Low Quality")
128 TArray<FStaticMaterial> LowRoadMaterials;
133 UPROPERTY(Category = "Quality Settings/Low", BlueprintReadOnly, EditAnywhere, config)
134 float LowLightFadeDistance = 1000.0f;
137 UPROPERTY(Category = "Quality Settings/Low", BlueprintReadOnly, EditAnywhere, config,
138 meta = (ClampMin = "5000.0", ClampMax = "20000.0", UIMin = "5000.0", UIMax = "20000.0"))
139 float LowStaticMeshMaxDrawDistance = 10000.0f;
142 UPROPERTY(Category = "Quality Settings/Low", BlueprintReadOnly, EditAnywhere, config,
143 meta = (ClampMin = "5000.0", ClampMax = "20000.0", UIMin = "5000.0", UIMax = "20000.0"))
144 float LowRoadPieceMeshMaxDrawDistance = 15000.0f;
148 UPROPERTY(Category = "Quality Settings/Epic",
152 DisplayName = "Road Materials List for EPIC Quality")
153 TArray<FStaticMaterial> EpicRoadMaterials;
156 UPROPERTY(Category = "Quality Settings/ROS2",
160 DisplayName = "Enable ROS2")
Global settings for CARLA.
static const FName CARLA_ROAD_TAG
CARLA_ROAD name to tag road mesh actors.
static const FName CARLA_SKY_TAG
CARLA_SKY name to tag the sky sphere (BPS) actors in the scenes.