|
CARLA
|
#include <ActorData.h>
Inheritance diagram for FActorData: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 |
| FActorRigSnapshot | Rig |
| FQuat | Rotation |
| FVector | Scale |
| FVector | Velocity |
Definition at line 44 of file ActorData.h.
|
inlinevirtual |
Definition at line 71 of file ActorData.h.
| FTransform FActorData::GetLocalTransform | ( | UCarlaEpisode * | CarlaEpisode | ) | const |
Definition at line 150 of file ActorData.cpp.
References UCarlaEpisode::GetCurrentMapOrigin(), Location, Rotation, and Scale.
Referenced by RespawnActor(), FTrafficSignData::RespawnActor(), FTrafficLightData::RespawnActor(), and RestoreActorData().
|
virtual |
Reimplemented in FVehicleData, FWalkerData, FTrafficSignData, FTrafficLightData, and FActorSensorData.
Definition at line 94 of file ActorData.cpp.
References AngularVelocity, bSimulatePhysics, FActorRigSnapshot::FromActor(), FCarlaActor::GetActor(), UCarlaEpisode::GetCurrentMapOrigin(), Location, Rig, Rotation, Scale, and Velocity.
Referenced by FVehicleData::RecordActorData(), FWalkerData::RecordActorData(), FTrafficSignData::RecordActorData(), FTrafficLightData::RecordActorData(), and FActorSensorData::RecordActorData().
|
virtual |
Reimplemented in FTrafficSignData, and FTrafficLightData.
Definition at line 86 of file ActorData.cpp.
References FActorInfo::Description, GetLocalTransform(), and UCarlaEpisode::ReSpawnActorWithInfo().
|
virtual |
Reimplemented in FVehicleData, FWalkerData, FTrafficSignData, FTrafficLightData, and FActorSensorData.
Definition at line 113 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 59 of file ActorData.h.
Referenced by FWorldObserver_Serialize(), RecordActorData(), and RestoreActorData().
| bool FActorData::bSimulatePhysics = false |
Definition at line 61 of file ActorData.h.
Referenced by RecordActorData(), FVehicleData::RecordActorData(), RestoreActorData(), and FVehicleData::RestoreActorData().
| FDVector FActorData::Location |
Definition at line 48 of file ActorData.h.
Referenced by ALargeMapManager::CheckDormantActors(), GetLocalTransform(), and RecordActorData().
| FActorRigSnapshot FActorData::Rig |
Definition at line 51 of file ActorData.h.
Referenced by FCarlaActor::GetActorRigSnapshot(), and RecordActorData().
| FQuat FActorData::Rotation |
Definition at line 53 of file ActorData.h.
Referenced by GetLocalTransform(), and RecordActorData().
| FVector FActorData::Scale |
Definition at line 55 of file ActorData.h.
Referenced by GetLocalTransform(), and RecordActorData().
| FVector FActorData::Velocity |
Definition at line 57 of file ActorData.h.
Referenced by FWorldObserver_Serialize(), FWalkerActor::GetActorVelocity(), RecordActorData(), and RestoreActorData().