18 #include "Kismet/BlueprintFunctionLibrary.h" 20 #include "ActorBlueprintFunctionLibrary.generated.h" 40 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
45 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
46 static bool CheckActorDefinitions(
const TArray<FActorDefinition> &ActorDefinitions);
55 const FString &Category,
65 bool bEnableModifyingPostProcessEffects =
false);
67 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
68 static void MakeCameraDefinition(
70 bool bEnableModifyingPostProcessEffects,
76 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
77 static void MakeNormalsCameraDefinition(
84 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
85 static void MakeLidarDefinition(
92 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
93 static void MakeGnssDefinition(
99 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
100 static void MakeIMUDefinition(
106 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
107 static void MakeRadarDefinition(
111 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
112 static void MakeVehicleDefinition(
117 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
118 static void MakeVehicleDefinitions(
119 const TArray<FVehicleParameters> &ParameterArray,
120 TArray<FActorDefinition> &Definitions);
122 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
123 static void MakePedestrianDefinition(
128 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
129 static void MakePedestrianDefinitions(
130 const TArray<FPedestrianParameters> &ParameterArray,
131 TArray<FActorDefinition> &Definitions);
133 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
134 static void MakeTriggerDefinitions(
135 const TArray<FString> &ParameterArray,
136 TArray<FActorDefinition> &Definitions);
138 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
139 static void MakeTriggerDefinition(
144 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
145 static void MakePropDefinition(
150 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
151 static void MakePropDefinitions(
152 const TArray<FPropParameters> &ParameterArray,
153 TArray<FActorDefinition> &Definitions);
156 static void MakeObstacleDetectorDefinitions(
167 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
168 static bool ActorAttributeToBool(
const FActorAttribute &ActorAttribute,
bool Default);
170 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
171 static int32 ActorAttributeToInt(
const FActorAttribute &ActorAttribute, int32 Default);
173 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
174 static float ActorAttributeToFloat(
const FActorAttribute &ActorAttribute,
float Default);
176 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
177 static FString ActorAttributeToString(
const FActorAttribute &ActorAttribute,
const FString &Default);
179 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
180 static FColor ActorAttributeToColor(
const FActorAttribute &ActorAttribute,
const FColor &Default);
182 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
183 static bool RetrieveActorAttributeToBool(
185 const TMap<FString, FActorAttribute> &
Attributes,
188 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
189 static int32 RetrieveActorAttributeToInt(
191 const TMap<FString, FActorAttribute> &Attributes,
194 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
195 static float RetrieveActorAttributeToFloat(
197 const TMap<FString, FActorAttribute> &Attributes,
200 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
201 static FString RetrieveActorAttributeToString(
203 const TMap<FString, FActorAttribute> &Attributes,
204 const FString &Default);
206 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
207 static FColor RetrieveActorAttributeToColor(
209 const TMap<FString, FActorAttribute> &Attributes,
210 const FColor &Default);
218 UFUNCTION(Category =
"Carla Actor", BlueprintCallable)
A sensor that produces data by applying post-process materials (shaders) to a scene capture image...
A definition of a Carla Actor with all the variation and attributes.
A ray-cast based Radar sensor.
A description of a Carla Actor with all its variation.
Gnss sensor representation The actual position calculation is done one server side.
Base class for sensors using a USceneCaptureComponent2D for rendering the scene.
An actor attribute, may be an intrinsic (non-modifiable) attribute of the actor or an user-defined ac...