#include <SoilTypeManager.h>
Public Member Functions | |
void | AddTerrainPropertiesToTile (int TileX, int TileY, FSoilTerramechanicsProperties TerrainProperties) |
ASoilTypeManager () | |
void | ClearTerrainPropertiesMap () |
FSoilTerramechanicsProperties | GetGeneralTerrainProperties () |
FSoilTerramechanicsProperties | GetTerrainPropertiesAtGlobalLocation (FVector VehicleLocation) |
FSoilTerramechanicsProperties | GetTerrainPropertiesAtLocalLocation (FVector VehicleLocation) |
void | SetGeneralTerrainProperties (FSoilTerramechanicsProperties TerrainProperties) |
virtual void | Tick (float DeltaSeconds) override |
Public Attributes | |
TSubclassOf< AActor > | CarClass |
Protected Member Functions | |
virtual void | BeginPlay () override |
Private Attributes | |
FSoilTerramechanicsProperties | GeneralTerrainProperties |
ALargeMapManager * | LargeMapManager |
TMap< FIntVector, FSoilTerramechanicsProperties > | TilesTerrainProperties |
Definition at line 42 of file SoilTypeManager.h.
ASoilTypeManager::ASoilTypeManager | ( | ) |
Definition at line 8 of file SoilTypeManager.cpp.
void ASoilTypeManager::AddTerrainPropertiesToTile | ( | int | TileX, |
int | TileY, | ||
FSoilTerramechanicsProperties | TerrainProperties | ||
) |
Definition at line 77 of file SoilTypeManager.cpp.
References GeneralTerrainProperties, LargeMapManager, NONE_SOIL, FSoilTerramechanicsProperties::TerrainType, and TilesTerrainProperties.
|
overrideprotectedvirtual |
Definition at line 15 of file SoilTypeManager.cpp.
void ASoilTypeManager::ClearTerrainPropertiesMap | ( | ) |
Definition at line 91 of file SoilTypeManager.cpp.
References TilesTerrainProperties.
FSoilTerramechanicsProperties ASoilTypeManager::GetGeneralTerrainProperties | ( | ) |
Definition at line 47 of file SoilTypeManager.cpp.
References GeneralTerrainProperties.
FSoilTerramechanicsProperties ASoilTypeManager::GetTerrainPropertiesAtGlobalLocation | ( | FVector | VehicleLocation | ) |
Definition at line 52 of file SoilTypeManager.cpp.
References GeneralTerrainProperties, ALargeMapManager::GetTileVectorID(), LargeMapManager, and TilesTerrainProperties.
Referenced by GetTerrainPropertiesAtLocalLocation(), FSparseHighDetailMap::SaveMap(), and Tick().
FSoilTerramechanicsProperties ASoilTypeManager::GetTerrainPropertiesAtLocalLocation | ( | FVector | VehicleLocation | ) |
Definition at line 64 of file SoilTypeManager.cpp.
References GetTerrainPropertiesAtGlobalLocation(), LargeMapManager, and ALargeMapManager::LocalToGlobalLocation().
void ASoilTypeManager::SetGeneralTerrainProperties | ( | FSoilTerramechanicsProperties | TerrainProperties | ) |
Definition at line 70 of file SoilTypeManager.cpp.
References GeneralTerrainProperties, and FSoilTerramechanicsProperties::ToString().
|
overridevirtual |
Definition at line 21 of file SoilTypeManager.cpp.
References CarClass, GetTerrainPropertiesAtGlobalLocation(), ALargeMapManager::GetTileID(), ALargeMapManager::GetTileVectorID(), LargeMapManager, ALargeMapManager::LocalToGlobalLocation(), and FSoilTerramechanicsProperties::ToString().
TSubclassOf<AActor> ASoilTypeManager::CarClass |
Definition at line 61 of file SoilTypeManager.h.
Referenced by Tick().
|
private |
Definition at line 48 of file SoilTypeManager.h.
Referenced by AddTerrainPropertiesToTile(), GetGeneralTerrainProperties(), GetTerrainPropertiesAtGlobalLocation(), and SetGeneralTerrainProperties().
|
private |
Definition at line 54 of file SoilTypeManager.h.
Referenced by AddTerrainPropertiesToTile(), GetTerrainPropertiesAtGlobalLocation(), GetTerrainPropertiesAtLocalLocation(), and Tick().
|
private |
Definition at line 51 of file SoilTypeManager.h.
Referenced by AddTerrainPropertiesToTile(), ClearTerrainPropertiesMap(), and GetTerrainPropertiesAtGlobalLocation().