|
CARLA
|
#include <CarlaStatics.h>
Inheritance diagram for UCarlaStatics:Static Public Member Functions | |
| static FString | FindMapPath (const FString &MapName) |
| static TArray< FString > | GetAllMapNames () |
| static TArray< FString > | GetAllPluginContentPaths () |
| static UCarlaSettings * | GetCarlaSettings (const UObject *WorldContextObject) |
| static UCarlaEpisode * | GetCurrentEpisode (const UObject *WorldContextObject) |
| static UCarlaGameInstance * | GetGameInstance (const UObject *WorldContextObject) |
| static ACarlaGameModeBase * | GetGameMode (const UObject *WorldContextObject) |
| static ALargeMapManager * | GetLargeMapManager (const UObject *WorldContextObject) |
| static ACarlaRecorder * | GetRecorder (const UObject *WorldContextObject) |
| static CarlaReplayer * | GetReplayer (const UObject *WorldContextObject) |
| static void | InvalidateMapCache () |
| Drop the cached .umap walk (content pack mounted/unmounted). | |
Definition at line 26 of file CarlaStatics.h.
|
static |
Definition at line 201 of file CarlaStatics.cpp.
References UCarlaContentPackManager::Get(), UCarlaStatics_GetMapFiles(), and UCarlaStatics_GetRegistryWorlds().
Referenced by UCarlaEpisode::LoadNewEpisode(), and FCarlaEngine::OnPreTick().
|
static |
Definition at line 163 of file CarlaStatics.cpp.
References UCarlaContentPackManager::Get(), UCarlaStatics_GetMapFiles(), UCarlaStatics_GetRegistryWorlds(), and UCarlaStatics_IsHiddenMap().
Referenced by FCarlaServer::FPimpl::BindActions().
|
static |
Definition at line 112 of file CarlaStatics.cpp.
Referenced by UCarlaStatics_GetMapFiles().
|
inlinestatic |
Definition at line 85 of file CarlaStatics.h.
References GetGameInstance().
Referenced by SceneCaptureSensor_local_ns::GetQualitySettings().
|
inlinestatic |
Definition at line 79 of file CarlaStatics.h.
References GetGameInstance().
Referenced by AWalkerBase_IsMirror(), ASensor::BeginPlay(), AAutowareGnssSensor::BeginPlay(), AGnssSensor::BeginPlay(), CarlaGetActorAngularVelocityInRadians(), ALargeMapManager::CheckActiveActors(), ALargeMapManager::CheckDormantActors(), AWeather::ClearSkyLightMap(), AVehicleStatusSensor::CollectAndStream(), ALargeMapManager::ConvertActiveToDormantActors(), ALargeMapManager::ConvertDormantToActiveActors(), ASensor::EndPlay(), GetRecorder(), GetReplayer(), AWalkerBase::Kill(), ALargeMapManager::OnActorDestroyed(), ALargeMapManager::OnActorSpawned(), ACustomV2XSensor::PostPhysTick(), AV2XSensor::PostPhysTick(), ALargeMapManager::PostWorldOriginOffset(), ALargeMapManager::RegisterInitialObjects(), UCarlaLidarSubsystem::RegisterLidar(), CaService::SetActor(), ACustomV2XSensor::SetOwner(), ATrafficLightGroup::Tick(), and ACustomV2XSensor::UpdateStationId().
|
inlinestatic |
Definition at line 74 of file CarlaStatics.h.
Referenced by FCarlaServer::FPimpl::BindActions(), ASensor::EndPlay(), FCarlaEngine_PrepareGeneratedWorld(), AOpenDriveGenerator::GenerateCrosswalkMesh(), AOpenDriveGenerator::GenerateGroundPlane(), AOpenDriveGenerator::GenerateLaneMarkings(), AOpenDriveGenerator::GenerateRoadMesh(), GetCarlaSettings(), GetCurrentEpisode(), UCarlaEpisode::LoadNewEpisode(), UCarlaEpisode::LoadNewOpendriveEpisode(), ASensorFactory::SpawnActor(), and ATriggerFactory::SpawnActor().
|
inlinestatic |
Definition at line 69 of file CarlaStatics.h.
Referenced by FFrameData::AddWorldState(), FCarlaServer::FPimpl::BindActions(), URayTracer::CastRay(), AInertialMeasurementUnit::ComputeAccelerometer(), AOpenDriveGenerator::GenerateCrosswalkMesh(), AOpenDriveGenerator::GenerateFurnitureAnchors(), AOpenDriveGenerator::GenerateGroundPlane(), AOpenDriveGenerator::GenerateLaneMarkings(), AOpenDriveGenerator::GenerateRoadMesh(), AOpenDriveGenerator::GenerateSpawnPoints(), GetLargeMapManager(), ATrafficLightManager::GetMap(), UCarlaEpisode::GetRecommendedSpawnPoints(), UOpenDrive::GetXODR(), AOpenDriveGenerator::IsOpenDriveValid(), FCarlaEngine::MirrorPrimarySettings(), FCarlaEngine::NotifyBeginEpisode(), FFrameData::PlayMapLayers(), FFrameData::PlayWorldState(), URayTracer::ProjectPoint(), ATrafficLightManager::RegisterLightComponentFromOpenDRIVE(), FTrafficSignData::RestoreActorData(), FTrafficLightData::RestoreActorData(), ATrafficLightManager::SnapSignsToGround(), ATrafficLightManager::SpawnSignals(), ATrafficLightManager::SpawnTrafficLights(), and ATrafficLightManager::UpdateSignalGroundDormancy().
|
inlinestatic |
Definition at line 111 of file CarlaStatics.h.
References GetGameMode(), and ACarlaGameModeBase::GetLMManager().
Referenced by AVegetationManager::BeginPlay(), FCarlaServer::FPimpl::BindActions(), FFrameData::CreateOrReuseActor(), FIMU_ToLocal(), FIMU_ToWorld(), FCarlaActor::GetActorGlobalLocation(), FCarlaActor::GetActorGlobalTransform(), FCarlaActor::GetActorLocalLocation(), FCarlaActor::GetActorLocalTransform(), ACarlaWheeledVehicle::GetBoxSphereBounds(), ARadar::GetMirrorState(), CaService::GetReferencePosition(), FCarlaEngine::NotifyBeginEpisode(), FCarlaEngine::OnEpisodeSettingsChanged(), FShapeVisitor::operator()(), FShapeVisitor::operator()(), FShapeVisitor::operator()(), FShapeVisitor::operator()(), FShapeVisitor::operator()(), AAutowareGnssSensor::PostPhysTick(), AGnssSensor::PostPhysTick(), FCarlaActor::SetActorGlobalLocation(), FCarlaActor::SetActorGlobalTransform(), FCarlaActor::SetActorLocalLocation(), FCarlaActor::SetActorLocalTransform(), ARadar::SetMirrorState(), UCarlaEpisode::SpawnActorWithInfo(), and CarlaReplayerHelper::TryToCreateReplayerActor().
|
inlinestatic |
Definition at line 91 of file CarlaStatics.h.
References GetCurrentEpisode().
Referenced by ATrafficLightBase::AddTimeToRecorder(), ACarlaWheeledVehicle::ApplyVehiclePhysicsControl(), AWeather::ApplyWeather(), and ACarlaWheeledVehicle::RecordDoorChange().
|
inlinestatic |
Definition at line 101 of file CarlaStatics.h.
References GetCurrentEpisode().
|
static |
Drop the cached .umap walk (content pack mounted/unmounted).
Definition at line 107 of file CarlaStatics.cpp.
References UCarlaStatics_bMapFilesDirty.
Referenced by UCarlaContentPackManager::Mount(), and UCarlaContentPackManager::Unmount().