#include <ActorData.h>
Public Member Functions | |
virtual void | RecordActorData (FCarlaActor *CarlaActor, UCarlaEpisode *CarlaEpisode) override |
virtual AActor * | RespawnActor (UCarlaEpisode *CarlaEpisode, const FActorInfo &Info) override |
virtual void | RestoreActorData (FCarlaActor *CarlaActor, UCarlaEpisode *CarlaEpisode) override |
Public Member Functions inherited from FActorData | |
FTransform | GetLocalTransform (UCarlaEpisode *CarlaEpisode) const |
virtual | ~FActorData () |
Public Attributes | |
UTrafficLightController * | Controller |
ETrafficLightState | LightState |
TSubclassOf< AActor > | Model |
int | PoleIndex |
FString | SignId |
Public Attributes inherited from FActorData | |
FVector | AngularVelocity = FVector(0,0,0) |
bool | bSimulatePhysics = false |
FDVector | Location |
FQuat | Rotation |
FVector | Scale |
FVector | Velocity |
Definition at line 109 of file ActorData.h.
|
overridevirtual |
Reimplemented from FActorData.
Definition at line 222 of file ActorData.cpp.
References FCarlaActor::GetActor(), ATrafficLightBase::GetPoleIndex(), ATrafficLightBase::GetTrafficLightComponent(), ATrafficLightBase::GetTrafficLightState(), FActorData::RecordActorData(), and TrafficLight.
|
overridevirtual |
Reimplemented from FActorData.
Definition at line 210 of file ActorData.cpp.
References FActorData::GetLocalTransform(), and UCarlaEpisode::SpawnActor().
|
overridevirtual |
Reimplemented from FActorData.
Definition at line 237 of file ActorData.cpp.
References FCarlaActor::GetActor(), UCarlaStatics::GetGameMode(), ACarlaGameModeBase::GetMap(), ATrafficLightBase::GetTrafficLightComponent(), ATrafficLightBase::SetPoleIndex(), ATrafficLightBase::SetTrafficLightState(), and TrafficLight.
UTrafficLightController* FTrafficLightData::Controller |
Definition at line 113 of file ActorData.h.
Referenced by FWorldObserver_GetDormantActorState(), and FTrafficLightActor::GetTrafficLightController().
ETrafficLightState FTrafficLightData::LightState |
Definition at line 115 of file ActorData.h.
Referenced by FTrafficLightActor::GetTrafficLightState(), and FTrafficLightActor::SetTrafficLightState().
TSubclassOf<AActor> FTrafficLightData::Model |
Definition at line 119 of file ActorData.h.
int FTrafficLightData::PoleIndex |
Definition at line 121 of file ActorData.h.
Referenced by FWorldObserver_GetDormantActorState().
FString FTrafficLightData::SignId |
Definition at line 117 of file ActorData.h.
Referenced by FWorldObserver_GetDormantActorState().