11 #include "CoreMinimal.h" 12 #include "Engine/StaticMesh.h" 13 #include "Engine/World.h" 15 #include "CarlaSettingsDelegate.generated.h" 34 void RegisterSpawnHandler(UWorld *World);
37 UFUNCTION(BlueprintCallable, Category =
"CARLA Settings", meta = (HidePin =
"InWorld"))
38 void ApplyQualityLevelPostRestart();
41 UFUNCTION(BlueprintCallable, Category =
"CARLA Settings", meta = (HidePin =
"InWorld"))
42 void ApplyQualityLevelPreRestart();
44 void SetAllActorsDrawDistance(UWorld *world,
float max_draw_distance)
const;
48 UWorld *GetLocalWorld();
58 void CheckCarlaSettings(UWorld *world);
61 void LaunchLowQualityCommands(UWorld *world)
const;
65 float max_draw_distance,
66 const TArray<FStaticMaterial> &road_pieces_materials)
const;
68 void SetActorComponentsDrawDistance(
AActor *actor,
float max_draw_distance)
const;
70 void SetPostProcessEffectsEnabled(UWorld *world,
bool enabled)
const;
73 void LaunchEpicQualityCommands(UWorld *world)
const;
77 float max_distance_fade,
79 bool hide_non_directional)
const;
FOnActorSpawned::FDelegate ActorSpawnedDelegate
Used to set settings for every actor that is spawned into the world.
carla::SharedPtr< cc::Actor > Actor
static EQualityLevel AppliedLowPostResetQualityLevel
Currently applied quality level after level is restarted.
Global settings for CARLA.