CARLA
Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Settings/EpisodeSettings.h
Go to the documentation of this file.
1 // Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
2 // de Barcelona (UAB).
3 //
4 // This work is licensed under the terms of the MIT license.
5 // For a copy, see <https://opensource.org/licenses/MIT>.
6 
7 #pragma once
8 
9 #include "EpisodeSettings.generated.h"
10 
11 USTRUCT(BlueprintType)
12 struct CARLA_API FEpisodeSettings
13 {
14  GENERATED_BODY()
15 
16  UPROPERTY(EditAnywhere, BlueprintReadWrite)
17  bool bSynchronousMode = false;
18 
19  UPROPERTY(EditAnywhere, BlueprintReadWrite)
20  bool bNoRenderingMode = false;
21 
22  UPROPERTY(EditAnywhere, BlueprintReadWrite)
23  bool bSubstepping = true;
24 
25  TOptional<double> FixedDeltaSeconds;
26 
27  double MaxSubstepDeltaTime = 0.01;
28 
29  int MaxSubsteps = 10;
30 
31  float MaxCullingDistance = 0.0f;
32 
33  UPROPERTY(EditAnywhere, BlueprintReadWrite)
34  bool bDeterministicRagdolls = true;
35 
36  float TileStreamingDistance = 300000.f; // 3km
37 
38  float ActorActiveDistance = 200000.f; // 2km
39 
40  bool SpectatorAsEgo = true;
41 
42 };