8#include "CoreMinimal.h"
9#include "Kismet/BlueprintFunctionLibrary.h"
11#include "SensorUtilities.generated.h"
14class UPrimitiveComponent;
29 UFUNCTION(BlueprintCallable, meta = (WorldContext =
"WorldContextObject"), Category =
"Sensor")
30 static void EnableAllSensors(
const UObject* WorldContextObject);
35 UFUNCTION(BlueprintCallable, meta = (WorldContext =
"WorldContextObject"), Category =
"Sensor")
36 static void DisableAllSensors(
const UObject* WorldContextObject);
41 UFUNCTION(BlueprintCallable, meta = (WorldContext =
"WorldContextObject"), Category =
"Sensor")
42 static void SetSimulateAllSensors(
const UObject* WorldContextObject,
bool SimulateSensors);
48 UFUNCTION(BlueprintCallable, meta = (WorldContext =
"WorldContextObject"), Category =
"Sensor")
49 static void DestroyAllSensors(
const UObject* WorldContextObject,
bool DestroyDefaultVehicleSensors =
false);
54 UFUNCTION(BlueprintCallable, Category =
"Sensor")
60 UFUNCTION(BlueprintCallable, Category =
"Sensor")
66 UFUNCTION(BlueprintCallable, Category =
"Sensor")
67 static void SetSimulateSensorsAttachedToVehicle(
AVehicle*
Vehicle,
bool SimulateSensors);
74 UFUNCTION(BlueprintCallable, Category =
"Sensor")
75 static void HideComponentForAllCameraSensors(UPrimitiveComponent* PrimitiveComponent);