10#include "Engine/World.h" 
   21    PrimaryActorTick.bCanEverTick = 
false;
 
   28    FilePrefix = 
"Data/InstanceSegmentationCamera_";
 
   30    AddPostProcessingMaterial(
"/Game/Agrarsense/Materials/PostProcessingMaterials/M_InstanceSegmentation.M_InstanceSegmentation");
 
   31    Super::Init(parameters, SimulateSensor);
 
   37#ifdef InstanceSegmentationPass_EXISTS 
   39    UWorld* World = GetWorld();
 
   42        GEngine->Exec(World, TEXT(
"r.EnableSegmentationRendering 1"));
 
   47    SimulatorLog::Log(
"InstanceSegmentationCamera.cpp: This sensor is only supported with our AGRARSENSE fork of the engine.");
 
   54    Super::EndPlay(EndPlayReason);
 
   56#ifdef InstanceSegmentationPass_EXISTS 
   60        UWorld* World = GetWorld();
 
   63            GEngine->Exec(World, TEXT(
"r.EnableSegmentationRendering 0"));
 
static int32 InstanceSegmentationCameraCount
 
void AddPostProcessingMaterial(const FString &Path, float Weight=1.0f)
 
void SetShadowRendering(bool RenderShadows)
 
void SetTemporalAA(bool SetTemporal)
 
void Init(FCameraBaseParameters parameters, bool SimulateSensor=true) override
 
virtual void EndPlay(const EEndPlayReason::Type EndPlayReason) final override
 
AInstanceSegmentationCamera(const FObjectInitializer &ObjectInitializer)
 
static void Log(const FString &Message, bool LogToTextFile=true, bool LogToROS=true)