|
CARLA
|
#include <LargeMapManager.h>
Inheritance diagram for ALargeMapManager:Public Types | |
| using | TileID = uint64 |
Public Member Functions | |
| void | AddActorToUnloadedList (const FCarlaActor &CarlaActor, const FTransform &Transform) |
| ALargeMapManager () | |
| void | ClearWorldAndTiles () |
| void | ConsiderSpectatorAsEgo (bool _SpectatorAsEgo) |
| void | GenerateLargeMap () |
| void | GenerateMap (FString InAssetsPath) |
| void | GenerateMap (TArray< TPair< FString, FIntVector > > MapPathsIds) |
| void | GenerateMap_Editor () |
| float | GetActorStreamingDistance () const |
| FCarlaMapTile & | GetCarlaMapTile (FIntVector TileVectorID) |
| FCarlaMapTile * | GetCarlaMapTile (FVector Location) |
| FCarlaMapTile * | GetCarlaMapTile (TileID TileID) |
| FCarlaMapTile & | GetCarlaMapTile (ULevel *InLevel) |
| FCarlaMapTile * | GetCarlaMapTilePointer (FIntVector TileVectorID) |
| ACarlaWheeledVehicle * | GetHeroVehicle () |
| float | GetLayerStreamingDistance () const |
| int | GetNumTiles () const |
| FIntVector | GetNumTilesInXY () const |
| FVector | GetTile0Offset () |
| TileID | GetTileID (FDVector TileLocation) const |
| TileID | GetTileID (FIntVector TileVectorID) const |
| TileID | GetTileID (FVector TileLocation) const |
| From a given location it retrieves the TileID that covers that area. | |
| FVector | GetTileLocation (FIntVector TileVectorID) const |
| FVector | GetTileLocation (TileID TileID) const |
| FDVector | GetTileLocationD (FIntVector TileVectorID) const |
| FDVector | GetTileLocationD (TileID TileID) const |
| float | GetTileSize () |
| FIntVector | GetTileVectorID (FDVector TileLocation) const |
| FIntVector | GetTileVectorID (FVector TileLocation) const |
| FIntVector | GetTileVectorID (TileID TileID) const |
| FVector | GlobalToLocalLocation (const FVector &InLocation) const |
| FTransform | GlobalToLocalTransform (const FTransform &InTransform) const |
| bool | IsLevelOfTileLoaded (FIntVector InTileID) const |
| bool | IsTileLoaded (FDVector Location) const |
| bool | IsTileLoaded (FVector Location) const |
| bool | IsTileLoaded (TileID TileId) const |
| FCarlaMapTile & | LoadCarlaMapTile (FString TileMapPath, TileID TileId) |
| FVector | LocalToGlobalLocation (const FVector &InLocation) const |
| FTransform | LocalToGlobalTransform (const FTransform &InTransform) const |
| void | OnActorDestroyed (AActor *DestroyedActor) |
| void | OnActorSpawned (const FCarlaActor &CarlaActor) |
| void | RegisterInitialObjects () |
| void | SetActorStreamingDistance (float Distance) |
| void | SetLayerStreamingDistance (float Distance) |
| void | SetTile0Offset (const FVector &Offset) |
| void | SetTileSize (float Size) |
| void | Tick (float DeltaTime) override |
| ~ALargeMapManager () | |
Public Attributes | |
| FString | LargeMapName = "testmap" |
| FString | LargeMapTilePath = "/Game/Carla/Maps/testmap" |
| bool | SpectatorAsEgo = false |
Protected Member Functions | |
| void | AdjustSignsHeightToGround () |
| virtual void | BeginPlay () override |
| void | CheckActiveActors () |
| void | CheckDormantActors () |
| void | CheckIfRebaseIsNeeded () |
| void | ConvertActiveToDormantActors () |
| void | ConvertDormantToActiveActors () |
| void | DumpTilesTable () const |
| FString | GenerateTileName (TileID TileID) |
| void | GetTilesThatNeedToChangeState (const TSet< TileID > &InTilesToConsider, TSet< TileID > &OutTilesToBeVisible, TSet< TileID > &OutTilesToHidde) |
| void | GetTilesToConsider (const AActor *ActorToConsider, TSet< TileID > &OutTilesToConsider) |
| void | OnLevelAddedToWorld (ULevel *InLevel, UWorld *InWorld) |
| void | OnLevelRemovedFromWorld (ULevel *InLevel, UWorld *InWorld) |
| void | PostWorldOriginOffset (UWorld *InWorld, FIntVector InSrcOrigin, FIntVector InDstOrigin) |
| void | PreWorldOriginOffset (UWorld *InWorld, FIntVector InSrcOrigin, FIntVector InDstOrigin) |
| void | PrintMapInfo () |
| void | RegisterTilesInWorldComposition () |
| void | RemoveLandscapeCollisionIfHaveTerraMechanics (ULevel *InLevel) |
| void | RemovePendingActorsToRemove () |
| FString | TileIDToString (TileID TileID) |
| void | UpdateCurrentTilesLoaded (const TSet< TileID > &InTilesToBeVisible, const TSet< TileID > &InTilesToHidde) |
| void | UpdateTilesState () |
| void | UpdateTileState (const TSet< TileID > &InTilesToUpdate, bool InShouldBlockOnLoad, bool InShouldBeLoaded, bool InShouldBeVisible) |
Definition at line 61 of file LargeMapManager.h.
| using ALargeMapManager::TileID = uint64 |
Definition at line 67 of file LargeMapManager.h.
| ALargeMapManager::ALargeMapManager | ( | ) |
Definition at line 40 of file LargeMapManager.cpp.
| ALargeMapManager::~ALargeMapManager | ( | ) |
Remove delegates
Definition at line 46 of file LargeMapManager.cpp.
| void ALargeMapManager::AddActorToUnloadedList | ( | const FCarlaActor & | CarlaActor, |
| const FTransform & | Transform | ||
| ) |
Definition at line 523 of file LargeMapManager.cpp.
|
protected |
Definition at line 170 of file LargeMapManager.cpp.
Referenced by OnActorSpawned(), and OnLevelAddedToWorld().
|
overrideprotectedvirtual |
Setup delegates
Definition at line 59 of file LargeMapManager.cpp.
References ActorStreamingDistance, ActorStreamingDistanceSquared, bHasTerramechanics, LayerStreamingDistance, LayerStreamingDistanceSquared, OnLevelAddedToWorld(), OnLevelRemovedFromWorld(), PostWorldOriginOffset(), PreWorldOriginOffset(), RebaseOriginDistance, RebaseOriginDistanceSquared, RegisterTilesInWorldComposition(), and Spectator.
|
protected |
Definition at line 805 of file LargeMapManager.cpp.
References ActiveActors, ActivesToRemove, ActiveToDormantActors, ActorsToConsider, ActorStreamingDistanceSquared, CheckActiveActors(), CurrentOriginD, UCarlaEpisode::FindCarlaActor(), FCarlaActor::GetActor(), FCarlaActor::GetActorType(), UCarlaStatics::GetCurrentEpisode(), IsTileLoaded(), LM_LOG, and FCarlaActor::Sensor.
Referenced by CheckActiveActors(), and Tick().
|
protected |
Definition at line 872 of file LargeMapManager.cpp.
References ActorsToConsider, ActorStreamingDistanceSquared, CheckDormantActors(), CurrentOriginD, DormantActors, DormantsToRemove, DormantToActiveActors, UCarlaEpisode::FindCarlaActor(), FCarlaActor::GetActorData(), FCarlaActor::GetActorId(), UCarlaStatics::GetCurrentEpisode(), FCarlaActor::IsDormant(), IsTileLoaded(), LM_LOG, and FActorData::Location.
Referenced by CheckDormantActors(), and Tick().
|
protected |
Definition at line 956 of file LargeMapManager.cpp.
References ActorsToConsider, CheckIfRebaseIsNeeded(), CurrentOriginD, GetTileID(), GetTileLocation(), IsValid(), and RebaseOriginDistance.
Referenced by CheckIfRebaseIsNeeded(), OnActorSpawned(), and Tick().
| void ALargeMapManager::ClearWorldAndTiles | ( | ) |
Definition at line 497 of file LargeMapManager.cpp.
References MapTiles.
Referenced by GenerateMap(), and GenerateMap().
| void ALargeMapManager::ConsiderSpectatorAsEgo | ( | bool | _SpectatorAsEgo | ) |
Definition at line 1170 of file LargeMapManager.cpp.
References ActorsToConsider, Spectator, and SpectatorAsEgo.
Referenced by ACarlaGameModeBase::BeginPlay(), and FCarlaServer::FPimpl::BindActions().
|
protected |
Definition at line 850 of file LargeMapManager.cpp.
References ActiveToDormantActors, ConvertActiveToDormantActors(), DormantActors, UCarlaStatics::GetCurrentEpisode(), LM_LOG, and UCarlaEpisode::PutActorToSleep().
Referenced by ConvertActiveToDormantActors(), and Tick().
|
protected |
Definition at line 924 of file LargeMapManager.cpp.
References ActiveActors, ConvertDormantToActiveActors(), CurrentOriginD, DormantActors, DormantToActiveActors, UCarlaEpisode::FindCarlaActor(), FCarlaActor::GetActor(), UCarlaStatics::GetCurrentEpisode(), FCarlaActor::IsActive(), LM_LOG, ATagger::TagActor(), FDVector::ToString(), and UCarlaEpisode::WakeActorUp().
Referenced by ConvertDormantToActiveActors(), and Tick().
|
protected |
Definition at line 1078 of file LargeMapManager.cpp.
References AssetsPath, FCarlaMapTile::Location, MapTiles, and FCarlaMapTile::Name.
Referenced by GenerateMap().
| void ALargeMapManager::GenerateLargeMap | ( | ) |
Definition at line 405 of file LargeMapManager.cpp.
References GenerateMap(), and LargeMapTilePath.
Referenced by ACarlaGameModeBase::InitGame().
| void ALargeMapManager::GenerateMap | ( | FString | InAssetsPath | ) |
Retrive all the assets in the path
Generate tiles based on mesh positions
Definition at line 409 of file LargeMapManager.cpp.
References ActorsToConsider, AssetsPath, ClearWorldAndTiles(), DumpTilesTable(), GenerateMap(), GetTileID(), LM_LOG, LoadCarlaMapTile(), MapTiles, Spectator, and SpectatorAsEgo.
Referenced by GenerateLargeMap(), GenerateMap(), and GenerateMap().
| void ALargeMapManager::GenerateMap | ( | TArray< TPair< FString, FIntVector > > | MapPathsIds | ) |
Definition at line 478 of file LargeMapManager.cpp.
References ClearWorldAndTiles(), GenerateMap(), GetTileID(), LM_LOG, LoadCarlaMapTile(), and MapTiles.
|
inline |
Definition at line 112 of file LargeMapManager.h.
|
protected |
Definition at line 1064 of file LargeMapManager.cpp.
| float ALargeMapManager::GetActorStreamingDistance | ( | ) | const |
Definition at line 343 of file LargeMapManager.cpp.
References ActorStreamingDistance.
Referenced by FCarlaEngine::NotifyBeginEpisode().
| FCarlaMapTile & ALargeMapManager::GetCarlaMapTile | ( | FIntVector | TileVectorID | ) |
Definition at line 660 of file LargeMapManager.cpp.
References GetTileID(), and MapTiles.
| FCarlaMapTile * ALargeMapManager::GetCarlaMapTile | ( | FVector | Location | ) |
Definition at line 637 of file LargeMapManager.cpp.
References GetCarlaMapTile(), and GetTileID().
Referenced by GetCarlaMapTile(), and OnLevelRemovedFromWorld().
| FCarlaMapTile * ALargeMapManager::GetCarlaMapTile | ( | TileID | TileID | ) |
Definition at line 674 of file LargeMapManager.cpp.
References MapTiles.
| FCarlaMapTile & ALargeMapManager::GetCarlaMapTile | ( | ULevel * | InLevel | ) |
Definition at line 643 of file LargeMapManager.cpp.
References MapTiles, and FCarlaMapTile::StreamingLevel.
| FCarlaMapTile * ALargeMapManager::GetCarlaMapTilePointer | ( | FIntVector | TileVectorID | ) |
Definition at line 667 of file LargeMapManager.cpp.
References GetTileID(), and MapTiles.
| ACarlaWheeledVehicle * ALargeMapManager::GetHeroVehicle | ( | ) |
Definition at line 278 of file LargeMapManager.cpp.
References ActorsToConsider, and IsValid().
Referenced by AVegetationManager::Tick().
| float ALargeMapManager::GetLayerStreamingDistance | ( | ) | const |
Definition at line 338 of file LargeMapManager.cpp.
References LayerStreamingDistance.
Referenced by FCarlaEngine::NotifyBeginEpisode().
|
inline |
Definition at line 123 of file LargeMapManager.h.
Referenced by ACarlaGameModeBase::InitGame().
| FIntVector ALargeMapManager::GetNumTilesInXY | ( | ) | const |
Definition at line 528 of file LargeMapManager.cpp.
References GetTileVectorID(), and MapTiles.
| FVector ALargeMapManager::GetTile0Offset | ( | ) |
Definition at line 319 of file LargeMapManager.cpp.
References Tile0Offset.
| ALargeMapManager::TileID ALargeMapManager::GetTileID | ( | FDVector | TileLocation | ) | const |
Definition at line 631 of file LargeMapManager.cpp.
References GetTileID(), and GetTileVectorID().
| ALargeMapManager::TileID ALargeMapManager::GetTileID | ( | FIntVector | TileVectorID | ) | const |
Definition at line 618 of file LargeMapManager.cpp.
| ALargeMapManager::TileID ALargeMapManager::GetTileID | ( | FVector | TileLocation | ) | const |
From a given location it retrieves the TileID that covers that area.
Definition at line 625 of file LargeMapManager.cpp.
References GetTileID(), and GetTileVectorID().
Referenced by CheckIfRebaseIsNeeded(), GenerateMap(), GenerateMap(), GetCarlaMapTile(), GetCarlaMapTile(), GetCarlaMapTilePointer(), GetTileID(), GetTileID(), GetTilesToConsider(), IsLevelOfTileLoaded(), and ASoilTypeManager::Tick().
| FVector ALargeMapManager::GetTileLocation | ( | FIntVector | TileVectorID | ) | const |
Definition at line 600 of file LargeMapManager.cpp.
References Tile0Offset, and TileSide.
| FVector ALargeMapManager::GetTileLocation | ( | TileID | TileID | ) | const |
Definition at line 594 of file LargeMapManager.cpp.
References GetTileLocation(), and GetTileVectorID().
Referenced by CheckIfRebaseIsNeeded(), GetTileLocation(), and LoadCarlaMapTile().
| FDVector ALargeMapManager::GetTileLocationD | ( | FIntVector | TileVectorID | ) | const |
Definition at line 612 of file LargeMapManager.cpp.
References Tile0Offset, TileSide, and FDVector::Y.
Definition at line 606 of file LargeMapManager.cpp.
References GetTileLocationD(), and GetTileVectorID().
Referenced by GetTileLocationD().
| float ALargeMapManager::GetTileSize | ( | ) |
Definition at line 314 of file LargeMapManager.cpp.
References TileSide.
|
protected |
Definition at line 1016 of file LargeMapManager.cpp.
References CurrentTilesLoaded, and GetTilesThatNeedToChangeState().
Referenced by GetTilesThatNeedToChangeState(), and UpdateTilesState().
|
protected |
Definition at line 979 of file LargeMapManager.cpp.
References CurrentOriginD, GetTileID(), GetTilesToConsider(), GetTileVectorID(), LayerStreamingDistance, and MapTiles.
Referenced by GetTilesToConsider(), and UpdateTilesState().
| FIntVector ALargeMapManager::GetTileVectorID | ( | FDVector | TileLocation | ) | const |
Definition at line 575 of file LargeMapManager.cpp.
References LocalTileOffset, Tile0Offset, and TileSide.
| FIntVector ALargeMapManager::GetTileVectorID | ( | FVector | TileLocation | ) | const |
Definition at line 565 of file LargeMapManager.cpp.
References LocalTileOffset, Tile0Offset, and TileSide.
Referenced by GetNumTilesInXY(), ASoilTypeManager::GetTerrainPropertiesAtGlobalLocation(), GetTileID(), GetTileID(), GetTileLocation(), GetTileLocationD(), GetTilesToConsider(), LoadCarlaMapTile(), PrintMapInfo(), and ASoilTypeManager::Tick().
| FIntVector ALargeMapManager::GetTileVectorID | ( | TileID | TileID | ) | const |
Definition at line 585 of file LargeMapManager.cpp.
| FVector ALargeMapManager::GlobalToLocalLocation | ( | const FVector & | InLocation | ) | const |
Definition at line 356 of file LargeMapManager.cpp.
References CurrentOriginD, and FDVector::ToFVector().
Referenced by FCarlaServer::FPimpl::BindActions(), FIMU_ToLocal(), FCarlaActor::GetActorLocalLocation(), FShapeVisitor::operator()(), FShapeVisitor::operator()(), FShapeVisitor::operator()(), FShapeVisitor::operator()(), FCarlaActor::SetActorGlobalLocation(), and ARadar::SetMirrorState().
| FTransform ALargeMapManager::GlobalToLocalTransform | ( | const FTransform & | InTransform | ) | const |
Definition at line 348 of file LargeMapManager.cpp.
References CurrentOriginD, and FDVector::ToFVector().
Referenced by FCarlaActor::GetActorLocalTransform(), FShapeVisitor::operator()(), FCarlaActor::SetActorGlobalTransform(), and UCarlaEpisode::SpawnActorWithInfo().
| bool ALargeMapManager::IsLevelOfTileLoaded | ( | FIntVector | InTileID | ) | const |
Definition at line 546 of file LargeMapManager.cpp.
References bPrintErrors, GetTileID(), LM_LOG, MapTiles, and FCarlaMapTile::StreamingLevel.
|
inline |
Definition at line 141 of file LargeMapManager.h.
|
inline |
Definition at line 136 of file LargeMapManager.h.
|
inline |
Definition at line 131 of file LargeMapManager.h.
Referenced by CheckActiveActors(), and CheckDormantActors().
| FCarlaMapTile & ALargeMapManager::LoadCarlaMapTile | ( | FString | TileMapPath, |
| TileID | TileId | ||
| ) |
Definition at line 680 of file LargeMapManager.cpp.
References GetTileLocation(), GetTileVectorID(), LM_LOG, LoadCarlaMapTile(), FCarlaMapTile::Location, MapTiles, FCarlaMapTile::Name, ShouldTilesBlockOnLoad, and FCarlaMapTile::StreamingLevel.
Referenced by GenerateMap(), GenerateMap(), and LoadCarlaMapTile().
| FVector ALargeMapManager::LocalToGlobalLocation | ( | const FVector & | InLocation | ) | const |
Definition at line 369 of file LargeMapManager.cpp.
References CurrentOriginD, and FDVector::ToFVector().
Referenced by FCarlaServer::FPimpl::BindActions(), URayTracer::CastRay(), FIMU_ToWorld(), FCarlaActor::GetActorGlobalLocation(), ARadar::GetMirrorState(), CaService::GetReferencePosition(), ASoilTypeManager::GetTerrainPropertiesAtLocalLocation(), OnActorSpawned(), AAutowareGnssSensor::PostPhysTick(), AGnssSensor::PostPhysTick(), URayTracer::ProjectPoint(), FCarlaActor::SetActorLocalLocation(), and ASoilTypeManager::Tick().
| FTransform ALargeMapManager::LocalToGlobalTransform | ( | const FTransform & | InTransform | ) | const |
Definition at line 361 of file LargeMapManager.cpp.
References CurrentOriginD, and FDVector::ToFVector().
Referenced by FCarlaServer::FPimpl::BindActions(), FCarlaActor::GetActorGlobalTransform(), ACarlaWheeledVehicle::GetBoxSphereBounds(), and FCarlaActor::SetActorLocalTransform().
| void ALargeMapManager::OnActorDestroyed | ( | AActor * | DestroyedActor | ) |
Definition at line 289 of file LargeMapManager.cpp.
References UCarlaEpisode::FindCarlaActor(), FCarlaActor::GetActorInfo(), UCarlaStatics::GetCurrentEpisode(), and LM_LOG.
Referenced by OnActorSpawned().
| void ALargeMapManager::OnActorSpawned | ( | const FCarlaActor & | CarlaActor | ) |
Definition at line 200 of file LargeMapManager.cpp.
References ActiveActors, ActorsToConsider, AdjustSignsHeightToGround(), CheckIfRebaseIsNeeded(), FActorInfo::Description, DormantActors, FCarlaActor::GetActor(), FCarlaActor::GetActorId(), FCarlaActor::GetActorInfo(), UCarlaEpisode::GetActorRegistry(), UCarlaStatics::GetCurrentEpisode(), IsValid(), LM_LOG, LocalToGlobalLocation(), OnActorDestroyed(), OnActorSpawned(), Spectator, UpdateTilesState(), FActorAttribute::Value, and FActorDescription::Variations.
Referenced by FCarlaServer::FPimpl::BindActions(), FFrameData::CreateOrReuseActor(), OnActorSpawned(), RegisterInitialObjects(), and CarlaReplayerHelper::TryToCreateReplayerActor().
|
protected |
Definition at line 152 of file LargeMapManager.cpp.
References AdjustSignsHeightToGround(), LM_LOG, and ATagger::TagActorsInLevel().
Referenced by BeginPlay().
|
protected |
Definition at line 162 of file LargeMapManager.cpp.
References GetCarlaMapTile(), LM_LOG, and FCarlaMapTile::TilesSpawned.
Referenced by BeginPlay().
|
protected |
Definition at line 118 of file LargeMapManager.cpp.
References CurrentOriginD, CurrentOriginInt, UCarlaStatics::GetCurrentEpisode(), LM_LOG, FCarlaMapTile::Location, MapTiles, MsgTime, PositonMsgColor, PostWorldOriginOffset(), UCarlaEpisode::SetCurrentMapOrigin(), and FCarlaMapTile::StreamingLevel.
Referenced by BeginPlay(), and PostWorldOriginOffset().
|
protected |
|
protected |
Definition at line 1105 of file LargeMapManager.cpp.
References ActiveActors, ActorsToConsider, ClientLocMsgIndex, CurrentOriginD, CurrentOriginInt, CurrentTilesLoaded, DormantActors, GetTileVectorID(), IsValid(), MaxClientLocMsgIndex, MsgTime, PositonMsgColor, TileIDToString(), and TilesDistMsgIndex.
Referenced by Tick().
| void ALargeMapManager::RegisterInitialObjects | ( | ) |
Definition at line 184 of file LargeMapManager.cpp.
References UCarlaEpisode::GetActorRegistry(), UCarlaStatics::GetCurrentEpisode(), OnActorSpawned(), and RegisterInitialObjects().
Referenced by ACarlaGameModeBase::BeginPlay(), and RegisterInitialObjects().
|
protected |
|
protected |
|
protected |
Definition at line 773 of file LargeMapManager.cpp.
References ActiveActors, ActivesToRemove, ActorsToConsider, ActorsToRemove, DormantActors, DormantsToRemove, LM_LOG, RemovePendingActorsToRemove(), Spectator, and SpectatorAsEgo.
Referenced by RemovePendingActorsToRemove(), and Tick().
| void ALargeMapManager::SetActorStreamingDistance | ( | float | Distance | ) |
Definition at line 331 of file LargeMapManager.cpp.
References ActorStreamingDistance, and ActorStreamingDistanceSquared.
Referenced by FCarlaEngine::OnEpisodeSettingsChanged().
| void ALargeMapManager::SetLayerStreamingDistance | ( | float | Distance | ) |
Definition at line 324 of file LargeMapManager.cpp.
References LayerStreamingDistance, and LayerStreamingDistanceSquared.
Referenced by FCarlaEngine::OnEpisodeSettingsChanged().
| void ALargeMapManager::SetTile0Offset | ( | const FVector & | Offset | ) |
Definition at line 304 of file LargeMapManager.cpp.
References Tile0Offset.
| void ALargeMapManager::SetTileSize | ( | float | Size | ) |
Definition at line 309 of file LargeMapManager.cpp.
References TileSide.
|
override |
Definition at line 376 of file LargeMapManager.cpp.
References bPrintMapInfo, CheckActiveActors(), CheckDormantActors(), CheckIfRebaseIsNeeded(), ConvertActiveToDormantActors(), ConvertDormantToActiveActors(), PrintMapInfo(), RemovePendingActorsToRemove(), and UpdateTilesState().
|
protected |
Definition at line 1071 of file LargeMapManager.cpp.
Referenced by PrintMapInfo().
|
protected |
Definition at line 1048 of file LargeMapManager.cpp.
References CurrentTilesLoaded, and UpdateCurrentTilesLoaded().
Referenced by UpdateCurrentTilesLoaded(), and UpdateTilesState().
|
protected |
Definition at line 742 of file LargeMapManager.cpp.
References ActorsToConsider, ActorsToRemove, GetTilesThatNeedToChangeState(), GetTilesToConsider(), IsValid(), UpdateCurrentTilesLoaded(), UpdateTilesState(), and UpdateTileState().
Referenced by OnActorSpawned(), Tick(), and UpdateTilesState().
|
protected |
Definition at line 1026 of file LargeMapManager.cpp.
References MapTiles, FCarlaMapTile::StreamingLevel, and UpdateTileState().
Referenced by UpdateTilesState(), and UpdateTileState().
|
protected |
Definition at line 273 of file LargeMapManager.h.
Referenced by CheckActiveActors(), ConvertDormantToActiveActors(), OnActorSpawned(), PrintMapInfo(), and RemovePendingActorsToRemove().
|
protected |
Definition at line 278 of file LargeMapManager.h.
Referenced by CheckActiveActors(), and RemovePendingActorsToRemove().
|
protected |
Definition at line 282 of file LargeMapManager.h.
Referenced by CheckActiveActors(), and ConvertActiveToDormantActors().
|
protected |
Definition at line 268 of file LargeMapManager.h.
Referenced by CheckActiveActors(), CheckDormantActors(), CheckIfRebaseIsNeeded(), ConsiderSpectatorAsEgo(), GenerateMap(), GetHeroVehicle(), OnActorSpawned(), PrintMapInfo(), RemovePendingActorsToRemove(), and UpdateTilesState().
|
protected |
Definition at line 277 of file LargeMapManager.h.
Referenced by RemovePendingActorsToRemove(), and UpdateTilesState().
|
protected |
Definition at line 304 of file LargeMapManager.h.
Referenced by BeginPlay(), GetActorStreamingDistance(), and SetActorStreamingDistance().
|
protected |
Definition at line 310 of file LargeMapManager.h.
Referenced by BeginPlay(), CheckActiveActors(), CheckDormantActors(), and SetActorStreamingDistance().
|
protected |
Definition at line 334 of file LargeMapManager.h.
Referenced by DumpTilesTable(), and GenerateMap().
|
protected |
Definition at line 336 of file LargeMapManager.h.
|
protected |
Definition at line 356 of file LargeMapManager.h.
Referenced by BeginPlay().
|
protected |
Definition at line 353 of file LargeMapManager.h.
Referenced by IsLevelOfTileLoaded().
|
protected |
Definition at line 350 of file LargeMapManager.h.
Referenced by Tick().
|
protected |
Definition at line 343 of file LargeMapManager.h.
Referenced by PrintMapInfo().
|
protected |
Definition at line 292 of file LargeMapManager.h.
Referenced by CheckActiveActors(), CheckDormantActors(), CheckIfRebaseIsNeeded(), ConvertDormantToActiveActors(), GetTilesToConsider(), GlobalToLocalLocation(), GlobalToLocalTransform(), LocalToGlobalLocation(), LocalToGlobalTransform(), PostWorldOriginOffset(), and PrintMapInfo().
|
protected |
Definition at line 290 of file LargeMapManager.h.
Referenced by PostWorldOriginOffset(), and PrintMapInfo().
|
protected |
Definition at line 286 of file LargeMapManager.h.
Referenced by GetTilesThatNeedToChangeState(), PrintMapInfo(), and UpdateCurrentTilesLoaded().
|
protected |
Definition at line 274 of file LargeMapManager.h.
Referenced by CheckDormantActors(), ConvertActiveToDormantActors(), ConvertDormantToActiveActors(), OnActorSpawned(), PrintMapInfo(), and RemovePendingActorsToRemove().
|
protected |
Definition at line 279 of file LargeMapManager.h.
Referenced by CheckDormantActors(), and RemovePendingActorsToRemove().
|
protected |
Definition at line 283 of file LargeMapManager.h.
Referenced by CheckDormantActors(), and ConvertDormantToActiveActors().
| FString ALargeMapManager::LargeMapName = "testmap" |
Definition at line 155 of file LargeMapManager.h.
Referenced by ACarlaGameModeBase::InitGame().
| FString ALargeMapManager::LargeMapTilePath = "/Game/Carla/Maps/testmap" |
Definition at line 153 of file LargeMapManager.h.
Referenced by GenerateLargeMap().
|
protected |
Definition at line 301 of file LargeMapManager.h.
Referenced by BeginPlay(), GetLayerStreamingDistance(), GetTilesToConsider(), and SetLayerStreamingDistance().
|
protected |
Definition at line 309 of file LargeMapManager.h.
Referenced by BeginPlay(), and SetLayerStreamingDistance().
|
protected |
Definition at line 317 of file LargeMapManager.h.
Referenced by GetTileVectorID(), and GetTileVectorID().
|
protected |
Definition at line 262 of file LargeMapManager.h.
Referenced by ClearWorldAndTiles(), DumpTilesTable(), GenerateMap(), GenerateMap(), GetCarlaMapTile(), GetCarlaMapTile(), GetCarlaMapTile(), GetCarlaMapTilePointer(), GetNumTilesInXY(), GetTilesToConsider(), IsLevelOfTileLoaded(), LoadCarlaMapTile(), PostWorldOriginOffset(), RegisterTilesInWorldComposition(), and UpdateTileState().
|
protected |
Definition at line 344 of file LargeMapManager.h.
Referenced by PrintMapInfo().
|
protected |
Definition at line 341 of file LargeMapManager.h.
|
protected |
Definition at line 347 of file LargeMapManager.h.
Referenced by PostWorldOriginOffset(), and PrintMapInfo().
|
protected |
Definition at line 338 of file LargeMapManager.h.
Referenced by PostWorldOriginOffset(), and PrintMapInfo().
|
protected |
Definition at line 307 of file LargeMapManager.h.
Referenced by BeginPlay(), and CheckIfRebaseIsNeeded().
|
protected |
Definition at line 311 of file LargeMapManager.h.
Referenced by BeginPlay().
|
protected |
Definition at line 320 of file LargeMapManager.h.
Referenced by LoadCarlaMapTile().
|
protected |
Definition at line 271 of file LargeMapManager.h.
Referenced by BeginPlay(), ConsiderSpectatorAsEgo(), GenerateMap(), OnActorSpawned(), and RemovePendingActorsToRemove().
| bool ALargeMapManager::SpectatorAsEgo = false |
Definition at line 213 of file LargeMapManager.h.
Referenced by ConsiderSpectatorAsEgo(), GenerateMap(), and RemovePendingActorsToRemove().
|
protected |
Definition at line 298 of file LargeMapManager.h.
|
protected |
Definition at line 295 of file LargeMapManager.h.
Referenced by GetTile0Offset(), GetTileLocation(), GetTileLocationD(), GetTileVectorID(), GetTileVectorID(), and SetTile0Offset().
|
protected |
Definition at line 340 of file LargeMapManager.h.
Referenced by PrintMapInfo().
|
protected |
Definition at line 314 of file LargeMapManager.h.
Referenced by GetTileLocation(), GetTileLocationD(), GetTileSize(), GetTileVectorID(), GetTileVectorID(), and SetTileSize().