|
CARLA
|
#include <CustomTerrainPhysicsComponent.h>
Public Member Functions | |
| void | Clear () |
| float | GetHeight (FDVector Position) const |
| void | InitializeHeightmap (UHeightMapDataAsset *DataAsset, FDVector Size, FDVector Origin, FDVector Tile0, float ScaleZ) |
Public Attributes | |
| float | MaxHeight = 10.0f |
| float | MinHeight = 0.0f |
| FDVector | Offset |
| std::vector< float > | Pixels |
| float | Scale_Z = 1 |
| uint32_t | Size_X |
| uint32_t | Size_Y |
| FDVector | Tile0Position |
| FDVector | WorldSize |
Definition at line 66 of file CustomTerrainPhysicsComponent.h.
| void FHeightMapData::Clear | ( | ) |
Definition at line 153 of file CustomTerrainPhysicsComponent.cpp.
References Pixels.
Referenced by FSparseHighDetailMap::Clear(), and FSparseHighDetailMap::UpdateHeightMap().
| float FHeightMapData::GetHeight | ( | FDVector | Position | ) | const |
Definition at line 143 of file CustomTerrainPhysicsComponent.cpp.
References Pixels, Position, Size_X, Size_Y, Tile0Position, WorldSize, FDVector::X, and FDVector::Y.
Referenced by FSparseHighDetailMap::GetHeight(), and FDenseTile::InitializeTile().
| void FHeightMapData::InitializeHeightmap | ( | UHeightMapDataAsset * | DataAsset, |
| FDVector | Size, | ||
| FDVector | Origin, | ||
| FDVector | Tile0, | ||
| float | ScaleZ | ||
| ) |
Definition at line 125 of file CustomTerrainPhysicsComponent.cpp.
References UHeightMapDataAsset::HeightValues, Offset, Pixels, Size_X, Size_Y, UHeightMapDataAsset::SizeX, UHeightMapDataAsset::SizeY, Tile0Position, UEFrameToSI(), and WorldSize.
Referenced by FSparseHighDetailMap::InitializeMap(), and FSparseHighDetailMap::UpdateHeightMap().
| float FHeightMapData::MaxHeight = 10.0f |
Definition at line 79 of file CustomTerrainPhysicsComponent.h.
| float FHeightMapData::MinHeight = 0.0f |
Definition at line 78 of file CustomTerrainPhysicsComponent.h.
| FDVector FHeightMapData::Offset |
Definition at line 75 of file CustomTerrainPhysicsComponent.h.
Referenced by InitializeHeightmap().
| std::vector<float> FHeightMapData::Pixels |
Definition at line 82 of file CustomTerrainPhysicsComponent.h.
Referenced by Clear(), GetHeight(), and InitializeHeightmap().
| float FHeightMapData::Scale_Z = 1 |
Definition at line 80 of file CustomTerrainPhysicsComponent.h.
| uint32_t FHeightMapData::Size_X |
Definition at line 76 of file CustomTerrainPhysicsComponent.h.
Referenced by GetHeight(), and InitializeHeightmap().
| uint32_t FHeightMapData::Size_Y |
Definition at line 77 of file CustomTerrainPhysicsComponent.h.
Referenced by GetHeight(), and InitializeHeightmap().
| FDVector FHeightMapData::Tile0Position |
Definition at line 81 of file CustomTerrainPhysicsComponent.h.
Referenced by GetHeight(), and InitializeHeightmap().
| FDVector FHeightMapData::WorldSize |
Definition at line 74 of file CustomTerrainPhysicsComponent.h.
Referenced by GetHeight(), and InitializeHeightmap().