16 PrimaryActorTick.bCanEverTick =
true;
17 SceneComponent = CreateDefaultSubobject<USceneComponent>(TEXT(
"RootComponent"));
35 Controller->ResetState();
46 Super::Tick(DeltaTime);
52 auto* Replayer = Episode->GetReplayer();
55 if(Replayer->IsEnabled())
void AddController(UTrafficLightController *Controller)
USceneComponent * SceneComponent
TArray< UTrafficLightController * > Controllers
virtual void Tick(float DeltaTime) override
bool AdvanceTimeAndCycleFinished(float DeltaTime)
int GetJunctionId() const
void SetGroup(ATrafficLightGroup *Group)
static UCarlaEpisode * GetCurrentEpisode(const UObject *WorldContextObject)
void SetFrozenGroup(bool InFreeze)
Maps a controller from OpenDrive.