#include <CustomTerrainPhysicsComponent.h>
FHeightMapData 的协作图:Public 成员函数 | |
| void | Clear () |
| float | GetHeight (FDVector Position) const |
| void | InitializeHeightmap (UHeightMapDataAsset *DataAsset, FDVector Size, FDVector Origin, FDVector Tile0, float ScaleZ) |
Public 属性 | |
| 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 |
在文件 CustomTerrainPhysicsComponent.h 第 64 行定义.
| void FHeightMapData::Clear | ( | ) |
在文件 CustomTerrainPhysicsComponent.cpp 第 136 行定义.
引用了 Pixels.
被这些函数引用 FSparseHighDetailMap::Clear() , 以及 FSparseHighDetailMap::UpdateHeightMap().
这是这个函数的调用关系图:| float FHeightMapData::GetHeight | ( | FDVector | Position | ) | const |
在文件 CustomTerrainPhysicsComponent.cpp 第 126 行定义.
引用了 Pixels, Position, Size_X, Size_Y, Tile0Position, WorldSize, FDVector::X , 以及 FDVector::Y.
被这些函数引用 FSparseHighDetailMap::GetHeight() , 以及 FDenseTile::InitializeTile().
这是这个函数的调用关系图:| void FHeightMapData::InitializeHeightmap | ( | UHeightMapDataAsset * | DataAsset, |
| FDVector | Size, | ||
| FDVector | Origin, | ||
| FDVector | Tile0, | ||
| float | ScaleZ | ||
| ) |
在文件 CustomTerrainPhysicsComponent.cpp 第 108 行定义.
引用了 UHeightMapDataAsset::HeightValues, Offset, Pixels, Size_X, Size_Y, UHeightMapDataAsset::SizeX, UHeightMapDataAsset::SizeY, Tile0Position, UEFrameToSI() , 以及 WorldSize.
被这些函数引用 FSparseHighDetailMap::InitializeMap() , 以及 FSparseHighDetailMap::UpdateHeightMap().
函数调用图:
这是这个函数的调用关系图:| float FHeightMapData::MaxHeight = 10.0f |
在文件 CustomTerrainPhysicsComponent.h 第 77 行定义.
| float FHeightMapData::MinHeight = 0.0f |
在文件 CustomTerrainPhysicsComponent.h 第 76 行定义.
| FDVector FHeightMapData::Offset |
在文件 CustomTerrainPhysicsComponent.h 第 73 行定义.
被这些函数引用 InitializeHeightmap().
| std::vector<float> FHeightMapData::Pixels |
在文件 CustomTerrainPhysicsComponent.h 第 80 行定义.
被这些函数引用 Clear(), GetHeight() , 以及 InitializeHeightmap().
| float FHeightMapData::Scale_Z = 1 |
在文件 CustomTerrainPhysicsComponent.h 第 78 行定义.
| uint32_t FHeightMapData::Size_X |
在文件 CustomTerrainPhysicsComponent.h 第 74 行定义.
被这些函数引用 GetHeight() , 以及 InitializeHeightmap().
| uint32_t FHeightMapData::Size_Y |
在文件 CustomTerrainPhysicsComponent.h 第 75 行定义.
被这些函数引用 GetHeight() , 以及 InitializeHeightmap().
| FDVector FHeightMapData::Tile0Position |
在文件 CustomTerrainPhysicsComponent.h 第 79 行定义.
被这些函数引用 GetHeight() , 以及 InitializeHeightmap().
| FDVector FHeightMapData::WorldSize |
在文件 CustomTerrainPhysicsComponent.h 第 72 行定义.
被这些函数引用 GetHeight() , 以及 InitializeHeightmap().