|
CARLA
|
#include "CustomTerrainPhysicsComponent.h"#include "Carla/MapGen/LargeMapManager.h"#include "Carla/Game/CarlaStatics.h"#include "Carla/MapGen/SoilTypeManager.h"#include "Carla/Actor/ActorBlueprintFunctionLibrary.h"#include <util/ue-header-guard-begin.h>#include "Async/ParallelFor.h"#include "Engine/AssetManager.h"#include "Engine/CollisionProfile.h"#include "Engine/StaticMeshActor.h"#include "Engine/StreamableManager.h"#include "UObject/SoftObjectPath.h"#include "StaticMeshResources.h"#include "CollisionQueryParams.h"#include "Landscape.h"#include "LandscapeHeightfieldCollisionComponent.h"#include "LandscapeComponent.h"#include "RHICommandList.h"#include "TextureResource.h"#include "GenericPlatform/GenericPlatformProcess.h"#include "Materials/MaterialParameterCollection.h"#include "Materials/MaterialParameterCollectionInstance.h"#include "Materials/MaterialInterface.h"#include "Materials/MaterialInstance.h"#include "Components/SkinnedMeshComponent.h"#include "Async/Async.h"#include "Async/Future.h"#include "LandscapeProxy.h"#include "UObject/SavePackage.h"#include "HAL/PlatformFileManager.h"#include "HAL/RunnableThread.h"#include "Misc/Paths.h"#include "Engine/World.h"#include "Math/UnrealMathUtility.h"#include "GenericPlatform/GenericPlatformFile.h"#include "Engine/Texture2D.h"#include "Engine/Texture.h"#include "Rendering/Texture2DResource.h"#include "Engine/TextureRenderTarget2D.h"#include "Components/PrimitiveComponent.h"#include "DrawDebugHelpers.h"#include "Kismet/KismetSystemLibrary.h"#include "Misc/CommandLine.h"#include "Components/LineBatchComponent.h"#include "Math/OrientedBox.h"#include "Misc/DateTime.h"#include "EngineUtils.h"#include <util/ue-header-guard-end.h>#include <util/disable-ue4-macros.h>#include "carla/rpc/String.h"#include <util/enable-ue4-macros.h>#include <filesystem>#include <algorithm>#include <fstream>#include <thread>#include <chrono>Go to the source code of this file.
Functions | |
| static TAutoConsoleVariable< int32 > | CVarAsyncHeightmapLoad (TEXT("carla.Terrain.AsyncHeightmapLoad"), 1, TEXT("legacy synchronous path (for rollback/debugging)."), ECVF_Default) |
| float | SIToUEFrame (const float &In) |
| FVector | SIToUEFrame (const FVector &In) |
| FVector | SIToUEFrameDirection (const FVector &In) |
| float | UEFrameToSI (const float &In) |
| FVector | UEFrameToSI (const FVector &In) |
| FVector | UEFrameToSIDirection (const FVector &In) |
Variables | |
| const int | CacheExtraRadius = 10 |
| static std::string | CachePath |
| constexpr float | CMToM = 0.01f |
| constexpr float | MToCM = 100.f |
|
static |
| float SIToUEFrame | ( | const float & | In | ) |
Definition at line 109 of file CustomTerrainPhysicsComponent.cpp.
References MToCM.
| FVector SIToUEFrame | ( | const FVector & | In | ) |
Definition at line 105 of file CustomTerrainPhysicsComponent.cpp.
References MToCM.
Referenced by FDenseTile::GetParticlesInBox().
| FVector SIToUEFrameDirection | ( | const FVector & | In | ) |
Definition at line 110 of file CustomTerrainPhysicsComponent.cpp.
| float UEFrameToSI | ( | const float & | In | ) |
Definition at line 119 of file CustomTerrainPhysicsComponent.cpp.
References CMToM.
| FVector UEFrameToSI | ( | const FVector & | In | ) |
Definition at line 115 of file CustomTerrainPhysicsComponent.cpp.
References CMToM.
Referenced by FSparseHighDetailMap::GetIntersectingTiles(), and FHeightMapData::InitializeHeightmap().
| FVector UEFrameToSIDirection | ( | const FVector & | In | ) |
Definition at line 120 of file CustomTerrainPhysicsComponent.cpp.
Referenced by FSparseHighDetailMap::GetIntersectingTiles().
| const int CacheExtraRadius = 10 |
Definition at line 76 of file CustomTerrainPhysicsComponent.cpp.
|
static |
Definition at line 89 of file CustomTerrainPhysicsComponent.cpp.
|
constexpr |
Definition at line 74 of file CustomTerrainPhysicsComponent.cpp.
Referenced by UEFrameToSI(), and UEFrameToSI().
|
constexpr |
Definition at line 73 of file CustomTerrainPhysicsComponent.cpp.
Referenced by SIToUEFrame(), and SIToUEFrame().