#include <ActorData.h>
Public Member Functions | |
FTransform | GetLocalTransform (UCarlaEpisode *CarlaEpisode) const |
virtual void | RecordActorData (FCarlaActor *CarlaActor, UCarlaEpisode *CarlaEpisode) |
virtual AActor * | RespawnActor (UCarlaEpisode *CarlaEpisode, const FActorInfo &Info) |
virtual void | RestoreActorData (FCarlaActor *CarlaActor, UCarlaEpisode *CarlaEpisode) |
virtual | ~FActorData () |
Public Attributes | |
FVector | AngularVelocity = FVector(0,0,0) |
bool | bSimulatePhysics = false |
FDVector | Location |
FQuat | Rotation |
FVector | Scale |
FVector | Velocity |
Definition at line 28 of file ActorData.h.
|
inlinevirtual |
Definition at line 52 of file ActorData.h.
FTransform FActorData::GetLocalTransform | ( | UCarlaEpisode * | CarlaEpisode | ) | const |
Definition at line 83 of file ActorData.cpp.
References UCarlaEpisode::GetCurrentMapOrigin(), Location, Rotation, and Scale.
Referenced by RespawnActor(), FTrafficSignData::RespawnActor(), FTrafficLightData::RespawnActor(), and RestoreActorData().
|
virtual |
Reimplemented in FActorSensorData, FTrafficLightData, FTrafficSignData, FWalkerData, and FVehicleData.
Definition at line 30 of file ActorData.cpp.
References AngularVelocity, bSimulatePhysics, FCarlaActor::GetActor(), UCarlaEpisode::GetCurrentMapOrigin(), Location, Rotation, Scale, and Velocity.
Referenced by FVehicleData::RecordActorData(), FWalkerData::RecordActorData(), FTrafficSignData::RecordActorData(), FTrafficLightData::RecordActorData(), and FActorSensorData::RecordActorData().
|
virtual |
Reimplemented in FTrafficLightData, and FTrafficSignData.
Definition at line 22 of file ActorData.cpp.
References FActorInfo::Description, GetLocalTransform(), and UCarlaEpisode::ReSpawnActorWithInfo().
|
virtual |
Reimplemented in FActorSensorData, FTrafficLightData, FTrafficSignData, FWalkerData, and FVehicleData.
Definition at line 46 of file ActorData.cpp.
References AngularVelocity, bSimulatePhysics, Character, FCarlaActor::GetActor(), GetLocalTransform(), and Velocity.
Referenced by FVehicleData::RestoreActorData(), FWalkerData::RestoreActorData(), and FActorSensorData::RestoreActorData().
FVector FActorData::AngularVelocity = FVector(0,0,0) |
Definition at line 40 of file ActorData.h.
Referenced by FWorldObserver_Serialize(), RecordActorData(), and RestoreActorData().
bool FActorData::bSimulatePhysics = false |
Definition at line 42 of file ActorData.h.
Referenced by RecordActorData(), FVehicleData::RecordActorData(), RestoreActorData(), and FVehicleData::RestoreActorData().
FDVector FActorData::Location |
Definition at line 32 of file ActorData.h.
Referenced by ALargeMapManager::CheckDormantActors(), GetLocalTransform(), and RecordActorData().
FQuat FActorData::Rotation |
Definition at line 34 of file ActorData.h.
Referenced by GetLocalTransform(), and RecordActorData().
FVector FActorData::Scale |
Definition at line 36 of file ActorData.h.
Referenced by GetLocalTransform(), and RecordActorData().
FVector FActorData::Velocity |
Definition at line 38 of file ActorData.h.
Referenced by FWorldObserver_Serialize(), RecordActorData(), and RestoreActorData().