CARLA
Public Member Functions | Public Attributes | List of all members
FTrafficSignData Class Reference

#include <ActorData.h>

+ Inheritance diagram for FTrafficSignData:
+ Collaboration diagram for FTrafficSignData:

Public Member Functions

virtual void RecordActorData (FCarlaActor *CarlaActor, UCarlaEpisode *CarlaEpisode) override
 
virtual AActorRespawnActor (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

TSubclassOf< AActorModel
 
FString SignId
 
TSubclassOf< UObjectSignModel
 
- Public Attributes inherited from FActorData
FVector AngularVelocity = FVector(0,0,0)
 
bool bSimulatePhysics = false
 
FDVector Location
 
FQuat Rotation
 
FVector Scale
 
FVector Velocity
 

Detailed Description

Definition at line 93 of file ActorData.h.

Member Function Documentation

◆ RecordActorData()

void FTrafficSignData::RecordActorData ( FCarlaActor CarlaActor,
UCarlaEpisode CarlaEpisode 
)
overridevirtual

Reimplemented from FActorData.

Definition at line 178 of file ActorData.cpp.

References FCarlaActor::GetActor(), and FActorData::RecordActorData().

+ Here is the call graph for this function:

◆ RespawnActor()

AActor * FTrafficSignData::RespawnActor ( UCarlaEpisode CarlaEpisode,
const FActorInfo Info 
)
overridevirtual

Reimplemented from FActorData.

Definition at line 166 of file ActorData.cpp.

References FActorData::GetLocalTransform(), and UCarlaEpisode::SpawnActor().

+ Here is the call graph for this function:

◆ RestoreActorData()

void FTrafficSignData::RestoreActorData ( FCarlaActor CarlaActor,
UCarlaEpisode CarlaEpisode 
)
overridevirtual

Reimplemented from FActorData.

Definition at line 193 of file ActorData.cpp.

References FCarlaActor::GetActor(), UCarlaStatics::GetGameMode(), and ACarlaGameModeBase::GetMap().

+ Here is the call graph for this function:

Member Data Documentation

◆ Model

TSubclassOf<AActor> FTrafficSignData::Model

Definition at line 98 of file ActorData.h.

◆ SignId

FString FTrafficSignData::SignId

Definition at line 96 of file ActorData.h.

Referenced by FWorldObserver_GetDormantActorState().

◆ SignModel

TSubclassOf<UObject> FTrafficSignData::SignModel

Definition at line 100 of file ActorData.h.


The documentation for this class was generated from the following files: